floor()
Syntax:
#include <math.h> double floor( double arg );
Description:
The function floor() returns the largest integer not greater than arg.
Example:
y = 6.04; x = floor( y ); RESULT: x set to 6.0
Related Topics:
ceil()
#include <math.h> double floor( double arg );
y = 6.04; x = floor( y ); RESULT: x set to 6.0