How To Use ABS Function In OraclePLSQL
ABS
This type of function returns the total value of n. This function returns the same data type as the numeric data type of the arguments.
Syntax
The syntax of ABS function in Oracle/PLSQL is given below:
- ABS(number)
Example
- Select ABS(28.53)
- From Dual;
Let’s take another example of ABS function, which is given below-
Example
- Select ABS(-36)
- from Dual;
Example
- Select ABS(-35.45)
- From Dual;
Example
- select ABS(54.34 * -1)
- from Dual;
Summary