floor() Mathematics Function floor() Set a numeric floor #include <math.h> double floor(z) double z; floor sets a numeric floor. It returns a double-precision floating point number whose value is the largest integer less than or equal to z. ***** Example ***** For an example of this function, see the entry for ceil. ***** See Also ***** abs(), ceil(), fabs(), frexp(), mathematics library COHERENT Lexicon Page 1