So what is a float again? My mind went completely blank... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

So what is a float again? My mind went completely blank...

22nd Oct 2016, 2:36 PM
Boxxo
Boxxo - avatar
2 Answers
+ 2
It's a data type for decimal numbers.
22nd Oct 2016, 2:58 PM
Zen
Zen - avatar
0
A float is a way of stating an integer. A regular int looks like this: 4 whereas a float would look like this: 4.0
23rd Oct 2016, 2:21 AM
Savannah Eastler
Savannah Eastler - avatar