DayOfWeek DegToHms

DegToDms


The DegToDms function converts an angle value, in decimal degrees, to a properly formatted angle string containing degrees, minutes, and seconds.

Syntax

sDms = DegToDms( nDegrees )

bullet.gif    nDegrees is the decimal degrees (e.g., -25.66436).

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

Remarks

This function converts a number of degrees to an angle string containing degrees, minutes, and seconds. To do the reverse conversion, use DmsToDeg

Related Topics

DmsToDeg


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