w3resource

Oracle COSH() function

Description

The Oracle COSH() function is used to return the hyperbolic cosine of a number.
The function takes any numeric or nonnumeric data type (can be implicitly converted to a numeric data type) as an argument.
If the argument is BINARY_FLOAT, then the function returns BINARY_DOUBLE. Otherwise, the function returns the same numeric data type as the argument.

Syntax:

COSH(N) 

Parameters:

Name Description
N A number whose hyperbolic cosine value is to be retrieved.

Pictorial Presentation of COSH() function

Pictorial Presentation of Oracle COSH() function

Example-1

The statement below will return the hyperbolic cosine of 0.

SELECT COSH(0) "Hyperbolic Cosine"
FROM DUAL;

Here is the result.

Hyperbolic Cosine
-----------------
                1

Previous: COS
Next: EXP



Follow us on Facebook and Twitter for latest update.