floorf

 
Syntax

         

#include <math.h>
float floorf( float arg );

 

The function floorf() returns the largest integer not greater

than arg. For example,

 

   y = 6.04;
   x
= floorf( y );              
 

would result in x being set to 6.0.