◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── Include: <math.h> Syntax: double ceil( double x ); double floor( double x ); long double _ceill( long double x ); long double _floorl( long double x ); Returns: (ceil) the double result rounded up. (floor) the double result rounded down. (_ceill) the long double result rounded up. (_floorl) the long double result rounded down. See also: fmod -♦-