+ 1

Why would you use a float instead of a double?

Don't doubles hold more decimal then float? If so why would you use float instead of double

5th Aug 2016, 5:00 AM
Xander500
2 Answers
+ 4
Because float occupation less ram than double, you can use double just for long decimal accounts
5th Aug 2016, 7:33 AM
MohammadAli Kamkar
+ 2
float takes 4 bits and double occupies 8 bita
5th Aug 2016, 7:26 PM
Asim Saeed
Asim Saeed - avatar