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

FromDMS

FromDMS
converts from degrees, minutes, and seconds to decimal degrees.
FromDMS
converts from a DMS string to decimal degrees.
FromDMS
converts from a latitude-longitude string to latitude and longitude in decimal degrees.
  • FromDMS supports all common DMS string formats, with delimiters such as , , , and , , .
  • FromDMS allows strings containing cardinal directions N, , E, . N and E give positive angles; and give negative angles.
  • FromDMS supports latitude-longitude formats, with or without cardinal directions explicitly specified.
  • Results in decimal degrees can be converted to radians by multiplying by Degree.
Convert from a DMS list to an angle in radians:
Convert from a DMS string:
Convert from a DMS string:
Convert from a latitude-longitude specification:
Convert from a DMS list to an angle in radians:
In[1]:=
Click for copyable input
Out[1]=
 
Convert from a DMS string:
In[1]:=
Click for copyable input
Out[1]=
 
Convert from a DMS string:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Convert from a latitude-longitude specification:
In[1]:=
Click for copyable input
Out[1]=
New in 7