Oracle / PLSQL: ATAN Function

This article is written about how to use the Oracle/PLSQL ATAN function with syntax and examples.

Description

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

Syntax

The syntax for the ATAN function in Oracle/PLSQL is:

ATAN( number )

Parameters or Arguments

number

The number used to calculate the arc tangent.

Returns

The ATAN function returns a numeric value.

Applies To

The ATAN function can be used in the following versions of Oracle/PLSQL:

Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i

Example

Let’s look at some Oracle ATAN function examples and explore how to use the ATAN function in Oracle/PLSQL.

For example:

ATAN(0.2)
Result: 0.197395559849881

ATAN(0.35)
Result: 0.336674819386727

ATAN(-0.15)
Result: -0.148889947609497