HmsToDeg
The HmsToDeg function converts a time string containing hours, minutes, and seconds to a decimal number of degrees. Use this to convert right ascension, longitude, or clock time.
nDegrees = HmsToDeg( sHms )
sHms is a string containing hours, minutes, and seconds (e.g., "06:25:28.085").
nDegrees is the returned angle value in units of degrees (e.g., 124.56238).
This function converts a string to degrees. To do the reverse conversion, use DegToHms.
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.