Radians(Angle: Double): Double;
Angle. Value of angel in degrees.
The Radians method returns the value transformed from degrees to radians.
Parameter value cannot be empty.
To transform radians to degrees, use the IMath.Degrees method.
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: Double;
Begin
r := Math.Radians(270);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the transformation result equal to 4.71238898038469.
See also: