COSH

The COSH function returns the hyperbolic cosine of the input argument.

Syntax

COSH (argument) 

Remarks

The table lists the valid input argument data types and the resulting output data types.

Data Type of Argument

Output Type

Notes

BIGINT, DECIMAL, FLOAT, INTEGER, NUMERIC, REAL, SMALLINT, TINYINT

FLOAT

Input argument is in radians.
Output value range is from 1 to + infinity.

NULL

NULL

 

Example

SELECT COSH(0);

The result is 1.