Sin(Value: Double): Double;
Value. The angle in radians, which sine must be found.
The Sin method returns the sine of the specified angle.
The Value parameter value cannot be empty and 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.Sin(Math.Pi/2);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the sine of the specified angle equal to 1.
See also: