What is Double | Sololearn: Learn to code for FREE!

+3

What is Double

10/8/2019 6:45:06 PM

Chetan Mohite

3 Answers

New Answer

+37

It is used to store decimal numbers (numbers with floating point value) with double precision.

+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.

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.