Sign in Join
FPDoc Onlineexperiment

DegNormalize function

In unit Math

Normalize an angle measured in degrees.

Declaration

pascal
function DegNormalize(deg: single): single

Description

DegNormalize returns the angle deg as a positive angle between 0 and 360 degrees.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.