+ 1

can any one tell me what is difference betwween 7.0 and 7

6th Jul 2016, 1:49 AM
Siddharth K
Siddharth K - avatar
7 Respostas
+ 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.
6th Jul 2016, 3:24 AM
Aquib Javed Khan
Aquib Javed Khan - avatar
+ 2
7.0 is a float value while 7 is an integer
8th Jul 2016, 10:36 PM
Minutes Play
Minutes Play - avatar
+ 2
The difference is of data types 7.0 is float while 7 is int
10th Jul 2016, 12:31 PM
Nitin Lakhwani
Nitin Lakhwani - avatar
+ 2
just float and int respectively
11th Jul 2016, 5:35 PM
Narayana
Narayana - avatar
- 1
Also, floats can do weird math. Floats are pretty complex.
6th Jul 2016, 7:14 PM
Yarden Akin
Yarden Akin - avatar
- 1
one is an Int and the other is a float. they ate the same for this exercise.
8th Jul 2016, 1:18 PM
James 'the bunyip' Ringhof
James 'the bunyip' Ringhof - avatar
- 2
7.0 is a float which means it ends with a .0 and 7 is not but they both have the same value
6th Jul 2016, 9:08 PM
Emanuel zamorano
Emanuel zamorano - avatar