Path: blob/main/files/en-us/web/xpath/functions/floor/index.md
6537 views
------{{ XsltRef() }}
The floor function evaluates a decimal number and returns the largest integer less than or equal to the decimal number.
Syntax
Arguments
number: The decimal number to be evaluated.
Returns
The nearest integer less than or equal to number.
Defined
Gecko support
Supported.