Difference between revisions of "Template:Coord/dec2dms/dm1"
< Template:Coord | dec2dms
Jump to navigation
Jump to search
imported>Voice of Clam (Fixing bug caused by changes to mod functionality, per editrequest) |
imported>Yahia.barie (-) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#expr:(floor({{{1}}}+1.0/1200.0)) mod 360}}°{{padleft:{{padright:{{#expr:(({{{1}}}-trunc({{{1}}}))*600 round 0) mod 600 / 10}}|{{#ifexpr:(({{{1}}}-trunc({{{1}}}))*600 round 0) mod 600 >= 100|4|3}}|.0}}|4|0}}′</includeonly><noinclude> | <includeonly>{{#expr:(floor({{{1}}}+1.0/1200.0)) mod 360}}°{{padleft:{{padright:{{#expr:(({{{1}}}-trunc({{{1}}}))*600 round 0) mod 600 / 10}}|{{#ifexpr:(({{{1}}}-trunc({{{1}}}))*600 round 0) mod 600 >= 100|4|3}}|.0}}|4|0}}′</includeonly><noinclude> | ||
| + | {{doc|content= | ||
Template to convert positive decimal degrees to degrees and minutes, rounded to 1 decimal place | Template to convert positive decimal degrees to degrees and minutes, rounded to 1 decimal place | ||
| − | + | [[Category:Coord template]] | |
| + | }} | ||
| + | </noinclude> | ||
Latest revision as of 19:52, 8 June 2019
Template to convert positive decimal degrees to degrees and minutes, rounded to 1 decimal place
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |