Floating point number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Floating point number

why floating point number is always stored as double

13th Feb 2017, 10:54 AM
Lubna Magdi
Lubna Magdi - avatar
1 Answer
+ 2
if you just use 2 digits after the float, it is used as double, but as i remember you can use more than two.
13th Feb 2017, 10:58 AM
Christian Klünter
Christian Klünter - avatar