Normalizes the input angle in degrees, to be between 0 and 360.
normalizeAngle ( degrees As Number ) As Number
Argument | Type | Description |
---|---|---|
degrees | Number | Input angle. |
Intent >normalizeAngle(-90.0) --> 270
Intent >normalizeAngle(720) --> 1.59027734073176E-14Note that this result is not exactly 0.0 (as it should be) because of round off errors.