floor


floor function

[Classification]

Mathematical library

[Syntax]

#include <math.h>

double floor(double x);

[Return value]

Returns the maximum integer value less than x and x.

[Description]

This function calculates the maximum integer value less than x and x.