411 REFERENCE · Wikibooks
C++ Programming/Code/Standard C Library/Functions/ceil
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
ceil
#include <cmath>
double ceil( double num );
The ceil() function returns the smallest integer no less than num. For example:
y = 6.04;
x = ceil( y );
would set x to 7.0.
Related topics floor - fmod