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>Yahia.barie
(-)
 
(One intermediate revision by one other user 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]][[sl:Predloga:Koord/dec2dms/dm]]</noinclude>
+
[[Category:Coord template]]
 +
}}
 +
</noinclude>

Latest revision as of 19:52, 8 June 2019

Template documentation

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