Template:Dms/doc

From Pittsburgh Streets

The {{dms}} template formats an angle expressed in degrees, minutes, and seconds.

Usage examples

  • {{dms|90}} → 90°
  • {{dms|22|30}} → 22° 30′
  • {{dms|40|26|31}} → 40° 26′ 31″
  • {{dms||31|32}} → 31′ 32″
  • {{dms|||45}} → 45″
  • {{dms|80||46}} → 80° 46″
  • {{dms}}