0

How can you tell the difference between a double and float?

1st Sep 2016, 10:11 PM
Noah Bonaguidi
Noah Bonaguidi  - avatar
2 Réponses
+ 2
double can store UpTo 15 digit on the other hand float ke support up to 7 . Apple documents says double is preferred over float
2nd Sep 2016, 9:28 AM
Inder Mishra
Inder Mishra - avatar
0
double can support higher precision that is up to 15 digits after the decimal point but float supports lower precision that is 7 digits after decimal
4th Sep 2016, 7:46 AM
Karunya