fn:floor

Rounds a number towards minus infinity.

floor($arg as numeric?) ➔ numeric?

Arguments

 

$arg

numeric?

The input number

Result

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