Walter.BOM
LatitudeDegrees(Decimal) Method
Walter.BOM Assembly > Walter.BOM.Geo Namespace > LocationExtensionMethods Class > LatitudeDegrees Method : LatitudeDegrees(Decimal) Method
The latitude point to convert, where positive values represent the northern hemisphere and negative values represent the southern hemisphere.
Converts a geographic latitude value to a GPS-compatible string representation in degrees.
Syntax
public static string LatitudeDegrees( 
   decimal latitude
)

Parameters

latitude
The latitude point to convert, where positive values represent the northern hemisphere and negative values represent the southern hemisphere.

Return Value

A string representation of the latitude in GPS degrees format. The format is "DDMM.mmmmN" for northern hemisphere latitudes and "DDMM.mmmmS" for southern hemisphere latitudes, where DD is degrees, MM.mmmm is minutes with four decimal places, and N/S indicates the hemisphere. If the latitude is 0, it defaults to the northern hemisphere ('N').
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LocationExtensionMethods Class
LocationExtensionMethods Members
Overload List