ceilf

 
Syntax

         

#include <math.h>
float ceilf( float num );

The ceilf() function returns the smallest integer no less than

num. For example,

 

   y = 6.04;
   x
= ceil( y );    
          

would set x to 7.0.