Share via


ceiling Function (Windows Embedded CE 6.0)

1/6/2010

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