IMath.Degrees

Syntax

Degrees(Angle: Double): Double;

Parameters

Angle. Angle in radians that must be transformed into degrees.

Description

The Degrees method returns the value, converted from radians to degrees.

Comments

The Angle parameter cannot be empty.

Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Math.Degrees(3.14);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the radian into degree transformation result equal to 179.908747671079.

See also:

IMath