Expand description
XPath 2.0 numeric functions.
This module implements numeric functions from the XPath 2.0 specification:
- fn:abs
- fn:ceiling
- fn:floor
- fn:round
- fn:round-half-to-even
Functions§
- abs
- Implements fn:abs - returns the absolute value of the argument.
- ceiling
- Implements fn:ceiling - returns the smallest integer greater than or equal to the argument.
- floor
- Implements fn:floor - returns the largest integer less than or equal to the argument.
- round
- Implements fn:round - returns the nearest integer to the argument.
- round_
half_ to_ even - Implements fn:round-half-to-even - banker’s rounding.