The floor
function evaluates a decimal number and returns the largest integer less than or equal to the decimal number.
The floor
function evaluates a decimal number and returns the largest integer less than or equal to the decimal number.
number
The decimal number to be evaluated.
The nearest integer less than or equal to number
.
Supported.
© 2005–2022 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/floor