Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

Math.floor Function (JavaScript)

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 (JavaScript)

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.