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
\