double

suggest change

A floating-point type, typically 64 bits. The standard requires its range to include that of float, but not a particular size. When combined with long, denotes the long double floating-point type, whose range includes that of double.

double area(double radius) {
    const double pi = 3.141592653589793;
    return pi*radius*radius;
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents