IMath.Radians

Syntax

Radians(Angle: Double): Double;

Parameters

Angle. Value of angel in degrees.

Description

The Radians method returns the value transformed from degrees to radians.

Comments

Parameter value cannot be empty.

To transform radians to degrees, use the IMath.Degrees method.

Example

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:

IMath