New course! Every coder should learn Generative AI!
Try a free lesson0
So what is a float again? My mind went completely blank...
2 Answers
+ 2
It's a data type for decimal numbers.
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