float

suggest change

A 4-byte floating point type. Has the narrowest range out of the three floating point types in C++.

float area(float radius) {
    const float pi = 3.14159f;
    return pi*radius*radius;
}

Feedback about page:

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



Table Of Contents