Share via


floor Function (Windows Embedded CE 6.0)

1/6/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