0
What does "double" do in c++?
What is "double"
4 Answers
+ 4
It's a type modifier. Did you do all lessons on variables?
+ 2
The double is a fundamental data type built into the compiler and used to define numeric variables holding numbers with decimal points. C, C++, C# and many other programming languages recognize the double as a type. A double type can represent fractional as well as whole values.
https://www.quora.com/In-C++-what-does-a-double-do
https://www.thoughtco.com/definition-of-double-958065
+ 1
It is same like float but it Stores up to 15 significant digits.
+ 1
Double is a datatype. It's use 2 x float = almost it use 8 bytes of memory