why float cannot store 5.5
Data types practical 5
Hi Paras,
5.5 is a double data in java as when you try to represent 5.5 as binary number it requires 8 bytes where as float takes only 4 bytes.
why float cannot store 5.5
Hi Paras,
5.5 is a double data in java as when you try to represent 5.5 as binary number it requires 8 bytes where as float takes only 4 bytes.