floor Method (Windows Scripting - JScript)

 

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

Math.floor(number) 

The required number argument is a numeric expression.

The return value is an integer value equal to the greatest integer less than or equal to its numeric argument.

Applies To: Math Object (Windows Scripting - JScript)

Requirements

Show: