此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

ToDegrees

As of Version 7.0, ToDegrees has been superseded by FromDMS.
ToDegrees[{degrees, minutes, seconds}]
converts a coordinate in degree-minute-second format to degrees.
ToDegrees[{degrees, minutes}]
converts from degrees-minutes format to degrees.
  • The coordinates are adjusted to stay between -180 and 180 degrees.
  • Note that the sign of degrees is enforced on minutes and seconds; so {-34, 3, 2} means 34 degrees, 3 minutes, and 2 seconds W (or S), as does {-34, -3, -2}.