What's the difference between double and floating point data types if there is any?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's the difference between double and floating point data types if there is any??

Data types

16th Apr 2019, 10:37 AM
Patrick Makashini
Patrick Makashini - avatar
3 Answers
+ 2
Thanks, very helpful information
16th Apr 2019, 11:03 AM
Patrick Makashini
Patrick Makashini - avatar
+ 1
It can give double precisions than floating Like if 1/3 in the float is 0.33 Then in double, it's 0.3333
16th Apr 2019, 10:42 AM
Yugabdh
Yugabdh - avatar
0
The Decimal, Double, and Float variable types are different in the way that they store the values. Float - 32 bit (7 digits) Double - 64 bit (15-16 digits) Decimal - 128 bit (28-29 significant digits)
16th Apr 2019, 1:25 PM
Serge Muliri Sheria
Serge Muliri Sheria - avatar