ABS (Absolute Value)

The ABS function returns the absolute value of a number.

Syntax

ABS ( number )

Remarks

The number argument can be any valid numeric expression. The absolute value of a number is its unsigned magnitude. For example, ABS(-1) and ABS(1) both return 1.