Syntax

num2 = ABS(num1)

Arguments

num1, num2: numeric

Meaning

The abs function yields the absolute value of num1 (the difference between num1 and 0, so always a positive number).

Example

Integer value

value=abs(-10)

Result

value is 10