Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Math.ceil Function (JavaScript)

Returns the smallest integer greater than or equal to its numeric argument.

Math.ceil(number) 

The required number argument is a numeric expression.

The return value is an integer value equal to the smallest integer greater 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. See Version Information.

Community Additions

Show:
© 2015 Microsoft