JScript  

floor Method

Returns the greatest integer less than or equal to its numeric argument.

Math.floor(number) 

The required 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.

Requirements

Version 1

See Also

ceil Method | Math Object Methods

Applies To: Math Object