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

ToDMS

As of Version 7.0, has been superseded by DMSString and DMSList.
ToDMS[degrees]
converts a coordinate in degrees to degree-minute-second format.
  • Conversion takes place to the nearest second.
  • The coordinates are between -180 and 180 degrees.