What is double data type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is double data type

I don't know

5th Feb 2019, 4:56 PM
Shubhanshu Tripathi
Shubhanshu Tripathi - avatar
2 Answers
+ 1
Its basically a data type thats similar to a float. But it can hold twice as much data as a float can.. It stores decimal numbers eg 1.1, 7.89
5th Feb 2019, 6:08 PM
Mensch
Mensch - avatar
0
Double is a data type which represents a floating point number, i.e. Decimal number. It differentiates from float data type as double occupies normally 8 bytes In memory. While float occupies 4 bytes
5th Feb 2019, 6:03 PM
Jhon
Jhon - avatar