Partager via


floor Function (Compact 2013)

3/26/2014

Returns the largest integer that is not greater than the argument.

Syntax

number floor(number)

Parameters

  • number
    A number.

Return Value

Returns the largest integer that is not greater than the argument.

Remarks

The following function call returns 3.

floor(3.5)

The following function call returns -2.

floor(-1.3)

The following function call returns 4.

floor(4)

See Also

Reference

XPath Number Functions