Share via


floor Method (JScript 5.6) 

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


Math.floor(number) 

Remarks

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 (JScript 5.6)

Requirements

Version 1

See Also

Reference

ceil Method (JScript 5.6)