Template:Coord/dms2dec: Difference between revisions
(Create) |
(Change documentation template) |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr:{{#switch:{{{1}}}|N|E=1|S|W=-1}}*({{{2|0}}}+({{{3|0}}}+{{{4|0}}}/60)/60) round {{{precdec|{{#if:{{{4|}}}|5|{{#if:{{{3|}}}|3|0}}}}+{{precision1|{{{4|{{{3|{{{2}}}}}}}}}}}}}}}}</includeonly><noinclude>{{pp-template|small=yes}}{{ | <includeonly>{{#expr:{{#switch:{{{1}}}|N|E=1|S|W=-1}}*({{{2|0}}}+({{{3|0}}}+{{{4|0}}}/60)/60) round {{{precdec|{{#if:{{{4|}}}|5|{{#if:{{{3|}}}|3|0}}}}+{{precision1|{{{4|{{{3|{{{2}}}}}}}}}}}}}}}}</includeonly><noinclude>{{pp-template|small=yes}}{{documentation}}[[Category:Coord template]]</noinclude> |
Latest revision as of 20:21, 4 July 2010
The above documentation is transcluded from Template:Coord/dms2dec/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |