abs

Returns the absolute value of "numeric_expression". Negative values are returned as positive values.

Syntax

abs ( numeric_expression )

Example 1

abs ( 15 )

Result

15

Example 2

abs ( -15 )

Result

15