Chart for .NET / User's Guide / Data Manipulation / Functions / Math Functions / Absolute Value

Absolute Value
 Syntax
ABS(arg)
 Arguments
Accepts one argument, which may be a single value or an array.
 Result
If the argument is a single value, the result is also a single value.
If the argument is an array, the result is an array.
 Description

Each element of the result is equal to the absolute value of the corresponding input element.

Example

Expression: ABS(arg1)

arg1 -3 10 4 -7 -12
result 3 10 4 7 12