#include <math.h>
double floor (double x);
float floorf(float x);
floor() calculates the largest integral number less than or equal to x.
The largest integral number not less than or equal to x.
ceil() and ceilf()
modf() and modff()