floating point - Float and double datatype in java - Stack Overflow
According to the IEEE standards, float is a 32 bit representation of a real number while double is a 64 bit representation. In Java programs normally we mostly see the use of double data type. It's just to avoid overflows as the range of numbers that can ...