ceiling Function (Compact 2013)

3/26/2014

Returns the smallest integer that is not less than the argument.

Syntax

number ceiling(number)

Parameters

  • number
    A number.

Return Value

Returns the smallest integer that is not less than the argument.

Remarks

The following function call returns 3.

ceiling(2.5)

The following function call returns -2.

ceiling(-2.3)

The following function call returns 4.

ceiling(4)

See Also

Reference

XPath Number Functions