Oracle / PLSQL: TANH Function

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

Description

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

Syntax

The syntax for the TANH feature in Oracle/PLSQL is:

TANH( n )

Parameters or Arguments

n A numberic fee used to calculate the hyperbolic tangent.

Returns

The TANH function returns a numeric value.

Applies To

The TANH feature can be used in the following versions of Oracle/PLSQL:

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

Example

Let’s seem to be at some Oracle TANH characteristic examples and explore how to use the TANH function in Oracle/PLSQL.

For example:

TANH(3)
Result: 0.99505475368673

TANH(5.2)
Result: 0.999939136886199

TANH(-5.2)
Result: -0.999939136886199