Float | Sololearn: Learn to code for FREE!



Can someome give me a simplified explanation of a float?

7/1/2019 10:15:21 AM


2 Answers

New Answer


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.