FormatAngle


The FormatAngle function creates a correctly formatted angle string from degrees, minutes, and seconds components.

Syntax

sDms = FormatAngle( nDeg, nMin, nSec )

bullet.gif    nDeg, nMin, nSec are the components of the angle (e.g., -54, 10, and 21.6).

bullet.gif    sDms is the formatted angle string (e.g., "-54:10:21.6").

Remarks

If the number of degrees is negative, then the returned string contains a negative degrees value.

Related Topics

DegToDms

DmsToDeg

ParseDms

ParseDegrees

FormatDmsStr


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.