FLOOR(3) Library Functions Manual FLOOR(3)
NAME
floor, floorfround to largest integral value not greater than x
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
floor(double x);
float
floorf(float x);
DESCRIPTION
The floor() and floorf() functions return the largest integral value less than or equal to x.
SEE ALSO
STANDARDS
The floor() function conforms to ANSI X3.159-1989 (“ANSI C”).