ceil() and ceilf()

Syntax
  #include <math.h>


  
  double ceil(double x);

  
  float  ceilf(float x);

  
Description

These functions round their parameters up to the nearest integer.

Return

ceil() returns the smallest integral number larger than x.

See also

floor() and floorf()

fmod() and fmodf()