Absolute value is designed to return a positive number (integer or decimal).

 

Syntax

 

ABS(x)

 

Parameters

 

= a value, either positive or negative number (decimal or integer).

 

Type of Data Returned

 

A positive number will be returned using this function.

 

Example

 

ABS(-2) will return 2

 

ABS(2.6) will return 2.6

 

ABS (9992) will return 9992

 

ABS (-99.22) will return 99.22