ceil Method

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

function ceil(number : Number ) : Number

Arguments

  • number
    Required. A numeric expression.

Remarks

The return value is an integer value equal to the smallest integer greater than or equal to its numeric argument.

Requirements

Version 1

Applies To:

Math Object

See Also

Reference

floor Method