+ 1
Integers
What determines whether or not an integer is written with a decimal? In other words, why would 7.0 be written instead of 7?
4 Réponses
+ 2
As *AsterisK* said, when you add the decimal point, it is no longer considered an integer.
+ 1
any integer with the decimal point is known as a floating point value, which you can use if you want your results in a decimal form
0
I see what i did there.
0
what i meant to ask was “In what situation would one write 7.0 instead of the integer of 7”?