Name

floor

Examples
a = floor(2.88)  # Sets 'a' to 2
Description Calculates the closest int value that is less than or equal to the value of the parameter.
Syntax
floor(n)
Parameters
nfloat: number to round down
Related ceil
round
Creative Commons License