floor
Returns the greatest integer that is less than or equal to value.

Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Argument | Description |
---|---|
value | Mandatory parameter. Provides the function's input value. |
Example
If the input value is 11.7, then applying the floor function to it makes the result 11, i.e. the greatest integer than is less than 11.7.