ParseDegrees


The ParseDegrees function splits a decimal number of degrees into its components of degrees, minutes, and seconds. To split an angle string in DMS form, use ParseDms

Syntax

nDegrees, nMin, nSec = ParseDegrees( nDegrees )

bullet.gif    nDegrees is a decimal Degree value (e.g., -5.25016667).

bullet.gif    nDegrees, nMin, nSec are the components of the HMS string (e.g., -5, 15, and 36).

Remarks

If the decimal number of degrees is negative, then the nDegrees component is returned as negative.

Related Topics

DegToDms, DmsToDeg, ParseDms, FormatDmsStr


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