0

will there be a difference if i use float instead of double?

28th Oct 2016, 10:08 AM
Sergio Paulo Perez
Sergio Paulo Perez - avatar
3 ответов
+ 2
float is 32 bit while double is 64 bit
28th Oct 2016, 11:50 AM
imaqtpie
imaqtpie - avatar
0
Double needs a memory twice that a float does, but Double is more formal used.
28th Oct 2016, 5:16 PM
ALI PIANIST
ALI PIANIST - avatar
0
The biggest difference you will notice is that double is more accurate if you have a number such as 11.11 float would return 11.10, as it goes to the closest increment of 5
29th Oct 2016, 11:09 AM
Jesse Barrass
Jesse Barrass - avatar