Returns the absolute value of a specified number.

Syntax

ABS(<expN>)

<expN>

The number whose absolute value you want to return.

Description

ABS( ) returns the absolute value of a number. The absolute value of a number represents its magnitude. Magnitude is always expressed as a positive value, so the absolute value of a negative number is its positive equivalent.