$tanh

Calculates the hyperbolic cosine of a number.

Syntax

$tanh(number)

Parameters

number

a number, or an expression that evaluates to a number, representing an angle (in radians)

Return Value

Number, with the same number of decimal places as number.

Comments

This function calculates the hyperbolic tangent of a number.

Example

let vAngle = $tanh(3.000)

Evaluates to 0.995.

 

Related Topics