floor
Description
Returns the largest floating point value that is less than or equal to the argument and is equal to a mathematical integer.
Syntax
floor( number )
Examples
floor(
2.72
)
//returns 2.0
Returns the largest floating point value that is less than or equal to the argument and is equal to a mathematical integer.
floor( number )
floor(
2.72
)
//returns 2.0