What is Double | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is Double

8th Oct 2019, 6:45 PM
Chetan Mohite
Chetan Mohite - avatar
3 Answers
+ 37
It is used to store decimal numbers (numbers with floating point value) with double precision.
9th Oct 2019, 7:04 PM
Vinesh Wadhwani
Vinesh Wadhwani - avatar
+ 1
In C/C++ double is almost the same as float, only it can work with more numbers after comma, as well as it takes 8 bytes to work with.
8th Oct 2019, 6:57 PM
Misha Rogoza
Misha Rogoza - avatar
0
Double is a datatype similar to float which have more allocated memory,i.e.,float has 4bytes of memory allocation while double has 8bytes and it literally depends on type of operating systems.
17th Mar 2020, 9:17 AM
Manikanta B
Manikanta B - avatar