Return absolute value of an item.
The following construct(s) refer to this construct:
fn:abs(item? $value) => double
This function returns the absolute value of an item. The item must evaluate to a number.
$number |
item? |
---|
let $a := xs:double(17.5) return abs($a)