This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

DMSString

DMSString[]
converts an angle given in decimal degrees to a degrees-minutes-seconds string.
DMSString
converts latitude and longitude given in decimal degrees to a DMS latitude-longitude string.
DMSString
converts a DMS list to a DMS string.
  • DMSString or DMSString gives a string representation in which the sign of the angle is indicated by one of the cardinal directions N, , E, or .
  • Angles in radians can be converted to degrees for use in DMSString by dividing by Degree.
Convert an angle given in decimal degrees to a DMS string:
Convert to a DMS string that specifies one of the cardinal directions:
Convert an angle given in decimal degrees to a DMS string:
In[1]:=
Click for copyable input
Out[1]=
 
Convert to a DMS string that specifies one of the cardinal directions:
In[1]:=
Click for copyable input
Out[1]=
New in 7