math:floor( $x as xs:double ) as xs:double
Returns the largest integer less than or equal to x.
math:floor(4.013) => 4