I trying to convert a int worth 1254 a Byte. It will not be possible since only the type ByteWe can encode that values ranging -127 and 128. So , if we make the conversion, we will lose information. I need to loss conversions without loss of information and those that involve loss of information . There is no loss of information when the magnitude of the converted number is stored. So i want to know how to convert character data to integer data. any idea. Please help.
Bookmarks