TanH(Angle: Double): Double;
Angle. A real number, which hyperbolic tangent must be found.
The TanH method returns hyperbolic tangent of the specified number.
Parameter value cannot be empty.
To get reverse hyperbolic tangent, use the IMath.ATanH method.
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: Double;
Begin
r := Math.TanH(-2);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the hyperbolic tangent equal to -0.964027580075817.
See also: