How To Use ATAN Function In OraclePLSQL
Description
ATAN function returns the arc tangent of n, where n represents the number. This is the numeric Math function in Oracle/PLSQL.
This function can be in an unbounded range and this function returns a value in the range of -pi/2 to pi/2, expressed in radians.
Syntax
The syntax of ATAN function in Oracle/PLSQL is given below-
- ATAN (Number)
Example
- Select ATAN (1/2)
- from Dual;
Let’s take another example of ATAN function.
Example
- Select ATAN (1)
- from Dual;
Example
- Select ATAN (3)
- from Dual;
Example
- Select ATAN (-3)
- from Dual;
Example
- Select ATAN (3/2)
- from Dual;
Summary