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