Oracle / PLSQL: TANH Function
This Oracle tutorial explains how to use the Oracle/PLSQL TANH function with syntax and examples.
Description
The Oracle/PLSQL TANH function returns the hyperbolic tangent of n.
Syntax
The syntax for the TANH function in Oracle/PLSQL is:
TANH( n )
Parameters or Arguments
- n
- A numberic value used to calculate the hyperbolic tangent.
Returns
The TANH function returns a numeric value.
Applies To
The TANH 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 TANH function 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
Advertisements