Converts a decimal latitude value to a string representation in degrees, minutes, and seconds (DMS) format with a cardinal direction (N or S).
Parameters
- latitude
- The latitude value to convert. Positive values indicate north latitude and negative values indicate south latitude.
Return Value
A string representing the latitude in DMS format. For example, "41°24'12.2\"N" for a latitude of 41.40333.
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