fn:abs

fn:abs(numeric? $srcval) → numeric?

Function signature

$srcval

numeric ?

Result

numeric ?

Returns the absolute value of a given number. Returns the same type as the supplied argument.

XPath 2.0 Specification

Implemented in Saxon 7.6.1.


Expand

Up  Next