saxonica.com

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

Next