The ABS() function returns the absolute value of a numeric input argument. : ABS « Numeric Math Functions « Oracle PL / SQL
- Oracle PL / SQL
- Numeric Math Functions
- ABS
The ABS() function returns the absolute value of a numeric input argument.
SQL>
ABS() Syntax: ABS(<numeric expression>)
SQL>
SQL> SELECT
2 ABS(-100) negative,
3 ABS(100) positive from dual;
NEGATIVE POSITIVE
---------- ----------
100 100
Related examples in the same category