Syntax
- float floor(x)
Parameters
- x—float
Returns
The rounded integer value. If x is integral, x is returned.
Description
The floor function rounds x down to the nearest integer.
The rounded integer value. If x is integral, x is returned.
The floor function rounds x down to the nearest integer.