ZylGPSReceiver.NET

GPSPosition.DMSToDecimalDegrees Method 

Converts DMS (Degree/Minute/Second) to decimal degrees.

[Visual Basic]
Public Shared Function DMSToDecimalDegrees( _
   ByVal Int32 As Integer, _
   ByVal Int32 As Integer, _
   ByVal Double As Double, _
   ByVal GPSPosition.CardinalPoint As CardinalPoint _
) As Double
[C#]
public static double DMSToDecimalDegrees(
   Int32 degree,
   Int32 minute,
   Double second,
   GPSPosition.CardinalPoint direction
);

Parameters

Int32
Degrees.
Int32
Minutes.
Double
Seconds.
GPSPosition.CardinalPoint
Direction.

Return Value

The value in decimal degrees.

See Also

GPSPosition Class | ZylGPSReceiver Namespace