0

What is the difference b/w double and float?

21st Nov 2016, 8:09 AM
vedansh panwar
vedansh panwar - avatar
2 Réponses
+ 2
A double has 15 decimal digits of precision, while float has 7.
27th Nov 2016, 9:14 AM
Rishabh Agrawal
Rishabh Agrawal - avatar
0
The Decimal, Double, and Floatvariable types are different in the way that they store the values. Precision is the main difference where float is a single precision (32 bit) floating point data type, double is a double precision (64 bit) floating point data type and decimal is a 128-bit floating point data type.
21st Nov 2016, 8:26 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar