Float | SoloLearn: Learn to code for FREE!

+1

Float

Can someome give me a simplified explanation of a float?

7/1/2019 10:15:21 AM

Aru

2 Answers

New Answer

+3

Your computer needs to store numbers, that have decimals, in a different way. Numbers without decimals (like 1, 2, 3 and so on) are int, numbers with decimals (like 1.3, 4.7, 7.2) are floats.