New course! Every coder should learn Generative AI!
Try a free lesson+ 5
What's the difference between double and float?
5 Answers
+ 12
This is usually the case:
Float - 32 bit (7 digits)
Double - 64 bit (15-16 digits)
+ 3
Float and double both are used to hold decimal values. The only difference is that float has a lesser storage capacity as compared to double.
0
I thought that a float air maybe it was a floating point was a decimal
0
or not air
0
float for maximum 3 decmil like 2.345 and double for same or more 2.65665675