Computer Science, asked by anuj, 1 year ago

What is the difference between FLOAT and DOUBLE?

Answers

Answered by Riyuuuuu
4
Hey!!!
_______________
Here is your answer!!!
_________________
Float takes decimal integer value but shorter in length whereas double takes decimal integers value which are longer in length.
_________________^_
I hope it will help you!!!

Anonymous: Reply jaldi sisi
Answered by Anonymous
2
Float stores a lower range of decimal values as compared to double i.e from  -3.4 * 10^-38 to 3.4 * 10^38. 

Double stores a higher range of decimal values i.e from - 1.7 * 10^-308 to 1.7 * 10^308.

Float occupies 4 bytes whereas double occupies 8 bytes.

Double can store float values but float cannot store double values.

Similar questions