The floor() function returns the smallest integer that is less than or equal to the argument.
number floor(number)
A number. If the argument is not a number, it is converted to a number using the rules for the
number() function.
An integer. If the value is not an integer, it is rounded down to the next integer.
Defined: XPath, section 4.4.