tanh

tanh()

Overview

The tanh() function returns the number equivalent to the hyperbolic tangent of the specified angle (in radians).

Return Type

Syntax

<variable> = <number>.tanh();

(OR)

<variable> = tanh(<number>);
ParameterData typeDescription
<variable>NUMBERVariable which will contain the returned value.
<number>NUMBERThe number whose hyperbolic tangent value will be returned.

Examples

number= 0.785398;
tanhValue = number.tanh();       // returns 0.6557941095069071

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com