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
Saxon availability
Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).
Notes on the Saxon implementation
Saxon also implements the function fn:abs().