tanh()
Table of Contents
Overview
The tanh() function returns the number equivalent to the hyperbolic tangent of the specified angle (in radians).
Return Type
Syntax
(OR)
Parameter | Data type | Description |
---|---|---|
<variable> | NUMBER | Variable which will contain the returned value. |
<number> | NUMBER | The number whose hyperbolic tangent value will be returned. |
Examples
tanhValue = number.tanh(); // returns 0.6557941095069071