Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > floor


Example: floor Mathematics Functions

Gets the largest integer value less than the specified number.

double floor( double x); 

x The upper limit of the range from which floor returns the value.

Return Values

The floor of x.