Difference between revisions of "Template:Coord/dec2dms/d1"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(fix formating, mod 360)
imported>Hike395
(no need for padleft)
Line 1: Line 1:
<includeonly>{{padleft:{{padright:{{#expr:({{{1}}}*10 round 0) mod 3600 / 10}}|{{#ifexpr:({{{1}}}*10 round 0) mod 3600 >= 100|4|3}}|.0}}|4|0}}°</includeonly><noinclude>
+
<includeonly>{{padright:{{#expr:({{{1}}}*10 round 0) mod 3600 / 10}}|{{#ifexpr:({{{1}}}*10 round 0) mod 3600 >= 100|4|3}}|.0}}°</includeonly><noinclude>
  
 
Template to round decimal degrees to nearest 0.1, mod 360
 
Template to round decimal degrees to nearest 0.1, mod 360
 
[[Category:Coord template]]</noinclude>
 
[[Category:Coord template]]</noinclude>

Revision as of 17:01, 18 December 2012


Template to round decimal degrees to nearest 0.1, mod 360