DmsToDeg


The DmsToDeg function converts an angle string containing degrees, minutes, and seconds to a decimal number of degrees.

Syntax

nDegrees = DmsToDeg( sDms )

bullet.gif    sDms is a string containing Degrees, minutes, and seconds (e.g., "-25:39:50.4").

bullet.gif    nDegrees is the returned value in decimal degrees (e.g., -25.664).

Remarks

This function converts a string to a decimal number of Degrees. To do the reverse conversion, use DegToDms.

Related Topics

DegToDms

ParseDegrees


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