Oracle Number Function - Oracle/PLSQL ATAN Function






This Oracle tutorial explains how to use the Oracle/PLSQL ATAN function.

The Oracle/PLSQL ATAN function returns the arc tangent of a number.

Syntax

The syntax for the Oracle/PLSQL ATAN function is:

ATAN( number )

number is the number used to calculate the arc tangent.

Example


SQL> select ATAN(1) from dual;
-- from   w w w . jav  a  2 s  . c  o  m
   ATAN(1)
----------
.785398163

SQL> select ATAN(-1) from dual;

  ATAN(-1)
----------
-.78539816

SQL>
SQL>