floats / floor

Edit on Github

NAME

floor() - round a float down to the nearest integer

SYNOPSIS

float floor( float f );

DESCRIPTION

Returns  (as  a  float)  the nearest integer number equal to or smaller
than f.

SEE ALSO

ceil(3), to_int(3), to_float(3)