Floating-Point Types
Floating-point types represent approximate values with a fractional part. The common types are float, double, and long double.
cpp
float ratio{0.5F};
double pi{3.141592653589793};
long double precise{1.0L / 3.0L};