Walter.BOM
LongitudeDegrees(Decimal) Method
Walter.BOM Assembly > Walter.BOM.Geo Namespace > LocationExtensionMethods Class > LongitudeDegrees Method : LongitudeDegrees(Decimal) Method
The longitude value to convert, where positive values represent east longitude and negative values represent west longitude.
Converts a longitude coordinate to a GPS-compatible longitude representation in degrees.
Syntax
public static string LongitudeDegrees( 
   decimal longitude
)

Parameters

longitude
The longitude value to convert, where positive values represent east longitude and negative values represent west longitude.

Return Value

A string representing the longitude in GPS degrees format. The format consists of degrees (DD) and minutes (MM) followed by a directional indicator ('E' for east or 'W' for west), without separating symbols. For example, "10012.3456E" represents 100 degrees, 12.3456 minutes east.
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