+ 2

Can anyone say me what is the basic difference in between float and double type

plz tell

29th Dec 2017, 3:14 PM
Lucky
Lucky - avatar
8 odpowiedzi
+ 2
there is also precision aspects For eg double can take 15 precision decimal points whereas in float it can only take 7 precision decimal points!!
29th Dec 2017, 3:57 PM
Rishabh
Rishabh - avatar
+ 2
is rishab is telling right
29th Dec 2017, 3:54 PM
Lucky
Lucky - avatar
+ 2
thanks
29th Dec 2017, 4:11 PM
Lucky
Lucky - avatar
+ 1
plz tell
29th Dec 2017, 3:15 PM
Lucky
Lucky - avatar
+ 1
floats are written with f in end For eg: float f = 4.5f; whereas double is written as For eg: double f = 4.5;
29th Dec 2017, 3:49 PM
Rishabh
Rishabh - avatar
+ 1
rishabh can you call me
29th Dec 2017, 4:16 PM
Lucky
Lucky - avatar
0
i will give you my number
29th Dec 2017, 4:18 PM
Lucky
Lucky - avatar