fn:floor

Rounds a number towards minus infinity.

floor($arg as xs:numeric?) ➔ xs:numeric?

Arguments

 

$arg

xs:numeric?

The input number

Result

xs:numeric?

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XPath 2.0 Functions and Operators

XPath 3.0 Functions and Operators

XPath 3.1 Functions and Operators