Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

fn:abs

Return absolute value of an item.


Syntax

fn:abs(item? $value) => double

Top of page

Description

This function returns the absolute value of an item. The item must evaluate to a number.

Top of page

Argument

$number

item?

Top of page

Example

let $a := xs:double(17.5)
return abs($a)

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page