Calculate the floor of a floating point value.
double floor (double x);
Required Header |
<math.h> |
Return Value
This function returns a double representing the largest integer less or equal to x.
Parameters
x
The floating point number to convert