exslt-math:abs
Returns the absolute value of a given number. Returns the same type as the supplied argument.
abs($arg as numeric) ➔ numeric
Arguments | |||
| $arg | numeric | The input value |
Result | numeric |
Namespace
http://exslt.org/math
Links to specifications
Notes on the Saxon implementation
Saxon also implements the function fn:abs().