ceil() and ceilf()

Syntax
  #include <math.h>

  
  double ceil(double x);

  

float ceilf(float x);

Description

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

See also

floor() and floorf() and

fmod() and fmodf()