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

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (Changed protection level of Template:Coord/dec2dms/dm: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
imported>YiFeiBot
m (Bot: Migrating 1 langlinks, now provided by Wikidata on d:q6802460)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>{{#expr:(floor({{{1}}}+1.0/120.0)) mod 360}}°{{padleft:{{#expr:(({{{1}}}-trunc({{{1}}}))*60 round 0) mod 60}}|2|0}}′</includeonly><noinclude>
 
<includeonly>{{#expr:(floor({{{1}}}+1.0/120.0)) mod 360}}°{{padleft:{{#expr:(({{{1}}}-trunc({{{1}}}))*60 round 0) mod 60}}|2|0}}′</includeonly><noinclude>
 +
{{doc|content=
 
Template to convert positive decimal degrees to degrees and minutes, rounded to 0 decimal places
 
Template to convert positive decimal degrees to degrees and minutes, rounded to 0 decimal places
{{pp-template|small=yes}}[[Category:Coord template]][[sl:Predloga:Koord/dec2dms/dm]]</noinclude>
+
[[Category:Coord template]]
 +
}}
 +
</noinclude>

Latest revision as of 19:40, 10 September 2015

Template documentation

Template to convert positive decimal degrees to degrees and minutes, rounded to 0 decimal places