Microsoft® JScript® floor Method |
Language Reference Version 1 |
Description
Returns the greatest integer less than or equal to its numeric argument.
Syntax
Math.floor(number)The number argument is a numeric expression.
Remarks
The return value is an integer value equal to the greatest integer less than or equal to its numeric argument.