ceil()
Syntax:
#include <math.h> double ceil( double num );
Description:
The ceil() function returns the smallest integer no less than num.
Example:
y = 6.04; x = ceil( y ); RESULT: Sets x to 7.0
Related Topics:
floor(), fmod()
#include <math.h> double ceil( double num );
y = 6.04; x = ceil( y ); RESULT: Sets x to 7.0