ParseDms
The ParseDms function splits an angle string in Dms form into its components of degrees, minutes, and seconds. To split a decimal number of degrees, use ParseDegrees
nDegree, nMin, nSec = ParseDms( sDms )
sDms is an angle string, in decimal Degrees (e.g., "-05:15:36.000").
nDegrees, nMin, nSec are the components of the Dms string (e.g., -5, 15, and 36).
If the angle string begins with a negative sign, then the nDegrees component is returned as negative.
DegToDms, DmsToDeg, ParseDegrees
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.