Tan(Value: Double): Double;
Value. The angle in radians, which tangent must be found.
The Tan method returns the tangent of the specified angle.
Value of the Value parameter must be set as an end number.
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: Double;
Begin
r := Math.Tan(0.785);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the tangent of the specified angle equal to 0.999203990105043.
See also: