COSH
The COSH
function returns the hyperbolic cosine of Expression
.
SQL syntax
COSH(Expression)
Parameters
COSH
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 COSH
function to return the hyperbolic cosine of 0
.
Command> SELECT COSH(0) "Hyperbolic cosine of 0" FROM dual; < 1 > 1 row found.