Partager via


floor Function

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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