The Fauna service will be ending on May 30, 2025.

For more information on the service wind down, see our announcement and the Fauna Service End-of-Life FAQ.

Math.cosh()

Get the hyperbolic cosine of a Number.

Signature

Math.cosh(x: Number) => Number

Description

Gets the hyperbolic cosine of a Number.

Parameters

Parameter Type Required Description

x

Number

true

A number.

Return value

Type Description

Number

Hyperbolic cosine of the provided number.

Examples

Math.cosh(1)
1.543080634815244
\