Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
Menu
ABS « Numeric Math Functions « Oracle PL / SQL
Oracle PL / SQL
Numeric Math Functions
ABS
1.
The ABS() function returns the absolute value of a numeric input argument.
2.
ABS(x): Returns the absolute value of x
3.
ABS: Returns the absolute value of a number or value
4.
select abs(13.4) from dual;
5.
select abs(-4.5) from dual;
6.
select abs(-70 * 415) "Using an expression"
7.
Use ABS in PL/SQL statement
8.
ABS(-123) ABS(0) ABS(456) SIGN(-123) SIGN(0) SIGN(456)