Oracle Number Function - Oracle/PLSQL TANH Function






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

The Oracle/PLSQL TANH function returns the hyperbolic tangent of n.

TANH returns the hyperbolic tangent of a value. It takes arguments in radians where,

radians = (angle * 2 * 3.1416 / 360)

Syntax

The syntax for the Oracle/PLSQL TANH function is:

TANH( n )

n is a number.

Example

Using the TANH function to find the hyperbolic tangent of 30 degrees:


SQL> SELECT TANH(30*2*3.1416/360) FROM dual;

TANH(30*2*3.1416/360)
---------------------
            .48047372

SQL>