Template:Coord dms2dec: Difference between revisions

From Cybis Wiki
Jump to navigation Jump to search
(mallen hämtad från http://sv.wikipedia.org/wiki/Mall:Coord_dms2dec)
 
No edit summary
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>
<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><noinclud>[[Category:Templates]]</noinclud>

Revision as of 16:38, 16 May 2009

<noinclud></noinclud>