TANH

The TANH function returns the hyperbolic tangent of a number.

This function takes a single Number as input. It outputs that Number's hyperbolic tangent.

Declaration

TANH(number) -> hyperbolic_tangent

Parameters

number (required, type: Number)

The number to calculate the hyperbolic tangent of.

Return Values

hyperbolic_tangent (type: Number)

The hyperbolic tangent of the given number.

Examples

The following example returns the hyperbolic tangent of 1:

TANH(1) -> 0.7615941559557649

Last updated