0
Why is 7.0 stored as a float and 7 not? Aren't they both integers? Is it because of the .0?
Floats
2 Answers
+ 4
Yes, it is. 7.0 is considered a float because it has a decimal point. I also doubt about this before and didn't really understand why a .0 matter. But that's the way it is :D
+ 1
THANK YOU SOOO MUCH!