TANH
The TANH
function returns the hyperbolic tangent of Expression
.
SQL syntax
TANH(Expression)
Parameters
TANH
has the parameter:
Parameter | Description |
---|---|
|
Operand or column can be any numeric data type or any non-numeric data type that can be implicitly converted to a numeric data type. |
Description
-
If
Expression
is of typeNUMBER
, the data type returned isNUMBER
. For all other numeric data types, the data type returned isBINARY_DOUBLE
. -
If the value of
Expression
isNULL
,NULL
is returned.
Example
Use the TANH
function to return the hyperbolic tangent of .5
.
Command> SELECT TANH(.5) "Hyperbolic tangent of .5" FROM dual; < .462117157260009758502318483643672548721 > 1 row found.