double is a keyword for the data type to store a real number, for example the value of pi.
Consider using double exclusively for floating-point types used in a class interface unless there is compelling reason to use float or long double instead [1].
- John Lakos. Large-Scale C++ Software Design. 1996. ISBN: 0-201-63362-0. Chapter 9.2.4: 'Consider using double exclusively for floating-point types used in the interface unless there is a compelling reason to use float or long double'