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.tanh()

Get the hyperbolic tangent of a Number.

Signature

Math.tanh(x: Number) => Number

Description

Gets the hyperbolic tangent of a provided Number.

Parameters

Parameter Type Required Description

x

Number

true

A number.

Return value

Type Description

Number

Hyperbolic tangent of the provided number.

Examples

Math.tanh(1)
0.7615941559557649
\