TAN function in Oracle

TAN is one of the vital Numeric/Math functions of Oracle. It is used to get the tangent of a number. The TAN function is supported in the various versions of the Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i and Oracle 8i.

Syntax:

TAN ( number )

Parameters: number: It is used to specify the number in radians to get the tangent value of.

Example 1:

TAN (1)

Output:

1.55740772465

Explanation: The tangent value of 1 is 1.55740772465, and so is the result.

Example 2:

TAN (-1)

Output:

-1.55740772465

Explanation: The tangent value of -1 is -1.55740772465, and so is the result.

Example 3:

TAN (0)

Output:

0

Explanation: The tangent value of 0 is 0, and so is the result.

Please follow and like us:
Content Protection by DMCA.com