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

From blackwiki
Jump to navigation Jump to search
imported>Tbhotch
(Removing a protection template from a non-protected page)
imported>Dpleibovitz
m (inline documentation)
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]][[sl:Predloga:Koord/dec2dms/dm]]</noinclude>
+
[[Category:Coord template]]
 +
}}
 +
[[sl:Predloga:Koord/dec2dms/dm]]
 +
</noinclude>

Revision as of 03:16, 11 July 2014

Template documentation

Template to convert positive decimal degrees to degrees and minutes, rounded to 1 decimal place

sl:Predloga:Koord/dec2dms/dm