The floor function evaluates a decimal number and returns the largest integer less than or equal to the decimal number.
floor
floor( number )
number
The decimal number to be evaluated.
The nearest integer less than or equal to number.
XPath 1.0 4.4
Supported.