what is the difference between floats and integrates | Sololearn: Learn to code for FREE!
0

what is the difference between floats and integrates

10th Aug 2018, 1:35 AM
HackingRat
2 odpowiedzi
+ 4
Keep going with the Python tutorial - you'll soon get the hang of it! https://www.sololearn.com/learn/Python/2272/
10th Aug 2018, 5:13 AM
David Ashton
David Ashton - avatar
+ 2
You mean Integers? Integers are Common numbers we use to represent like the Numerical System 1,2,3,4,....etc while a float is similar to this, the only difference is Integer deals with WHOLE NUMBERS and float deals with Fractional or Decimal points for eg: 1,2,3...etc are Integers and 1.0,2.0,3.0 are Float... let's say we need to add a number to a program...balance amount in a bank account 2512.88$ here if we use Integer, we would miss the .88$ value, so we use Float at these circumstances.
10th Aug 2018, 2:36 AM
Merin C S
Merin C S - avatar