Function Reference > Functions > COSH
  

COSH

Returns the hyperbolic cosine of a numeric value (expressed in radians).

Syntax

COSH( numeric_value )
Argument
Required/
Optional
Description
numeric_value
Required
Numeric datatype. Numeric data expressed in radians (degrees multiplied by pi divided by 180). Passes the values for which you want to calculate the hyperbolic cosine. You can enter any valid expression.

Return Value

Double value.
NULL if a value passed to the function is NULL.

Example

The following expression returns the hyperbolic cosine for the values in the ANGLES column:
COSH( ANGLES )
ANGLES   
RETURN VALUE
1.0
1.54308063481524
2.897
9.0874465864177
3.66
19.4435376920294
5.45
116.381231106176
0
1.0
0.345
1.06010513656773
NULL
NULL

Tip

You can perform arithmetic on the values passed to COSH before the function calculates the hyperbolic cosine. For example:
COSH( MEASURES.ARCS / 360 )