AdjustD

From SCAR Divi Manual
Revision as of 08:50, 28 June 2011 by Freddy (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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