AdjustD

From SCAR Divi Manual
Jump to: navigation, search

Definition

function AdjustD(Angle, Adjustment: Extended): Extended;

Source

function AdjustD(Angle, Adjustment: Extended): Extended;
begin
  Result := FixD(Angle + Adjustment);
end;

Availability

SCAR Divi 3.00 > Current

Description

Adjusts an angle specified by Angle in degrees by adding the value specified in Adjustment and then "fixing" the angle by running it through FixD.

Example

begin
  WriteLn(AdjustD(359, 26));
end.

Output:

25

See Also