Template:Circle of latitude/dms: Difference between revisions
From Vigyanwiki
(Created page with "{{#expr:floor({{{1|9.2}}}+1/72000) mod 360}}°{{padleft:{{#expr:floor(({{{1|9.2}}}-trunc({{{1|9.2}}}))*60+1/1200) mod 60}}|2|0}}′{{padleft:{{padright:{{#expr:(({{{1|9.2}}}-t...") |
m (1 revision imported from alpha:Template:Circle_of_latitude/dms) |
(No difference)
|
Latest revision as of 09:52, 31 January 2023
9°12′00.0″
Template documentation
This is a helper template for Template:Circle of latitude, converting a positive longitude or latitude, in parameter 1, in decimal notation to a degrees/minutes/seconds (dms) display. Examples:
{{Circle of latitude/dms|3.7415729075568422}}
→ 3°44′29.7″{{Circle of latitude/dms|38.539000041782856}}
→ 38°32′20.4″
Rarely used, but probably should not be deleted, because it may be used more in the future.
[[Category:Template documentation pages{{#translation:}}]]