0

Please what are float and double in lame man's term?

4th Apr 2019, 3:49 PM
Kamso Ogueji
Kamso Ogueji - avatar
2 Respostas
+ 1
A float and double are floating point numbers, they are a decimal number as opposed to an integer which is a "real" number. An example of one would be 0.1 or 3.1415, notice how there can be numbers either side of the decimal point. The difference between them is how precise they are and how long it can be. A float will hold less information than a double, for reference a float is 32 bit where as a double is 64 bit.
4th Apr 2019, 4:04 PM
Jack
Jack - avatar
0
Ok thanks
4th Apr 2019, 4:21 PM
Kamso Ogueji
Kamso Ogueji - avatar