+ 1
can any one tell me what is difference betwween 7.0 and 7
7 Answers
+ 7
7.0 is a float type data type and 7 is int type,
The value of the maxima and minima of the two data types vill vary from machine to machine, and they also consume different memory space.
+ 2
7.0 is a float value while 7 is an integer
+ 2
The difference is of data types 7.0 is float while 7 is int
+ 2
just float and int respectively
- 1
Also, floats can do weird math. Floats are pretty complex.
- 1
one is an Int and the other is a float. they ate the same for this exercise.
- 2
7.0 is a float which means it ends with a .0 and 7 is not but they both have the same value