#include <math.h>double floor(double x);
floorf computes the largest integer value not greater than x.
floorf(±0) is±0. floorf(±∞) is ±∞.
floorf conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).