Purpose
You can call this function to return the hyperbolic cosine of a number. The return value is in the range of [1, +∞).
Syntax
COSH(number)
Parameters
number is of a numeric data type such as NUMBER, FLOAT, BINARY_FLOAT, or BINARY_DOUBLE or any data type that can be implicitly converted to a numeric data type.
Return type
If number is of the BINARY_FLOAT data type, the return type is BINARY_DOUBLE. Otherwise, the return type is a numeric data type same as that of number.
Examples
The following example returns the hyperbolic cosine of 0.
obclient> SELECT COSH(0) FROM DUAL;
+---------+
COSH(0)
+---------+
1
+---------+
1 row in set