+ 1

What is the difference between 'float data type' and 'double data type'?

The range of Float Dataype is : -3.4E +38 to +3.4E +38 The range of double Datatype is : -1.7E+308 to 1.7E+308 What does this mean? Can anyone explain me this?

20th Aug 2017, 6:20 AM
Joel John
Joel John - avatar
2 odpowiedzi
+ 8
float is a single precision (32 bit) floating point data type, double is a double precision (64 bit) floating point data type. More: https://www.quora.com/What-are-the-differences-between-the-double-and-float-data-types
20th Aug 2017, 6:22 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
@ Hasty Rei : Thanks
20th Aug 2017, 6:23 AM
Joel John
Joel John - avatar