Difference between revisions of "Template:Coor/prec dms"
Jump to navigation
Jump to search
imported>Quarl («+"<includeonly>", +"</includeonly><noinclude> {{template doc}} </noinclude>"») |
imported>Quarl («"|d|{{#ifeq:0,0|{{#expr:{{{1}}} * 3600 mod 3600 round 1}},{{#expr:{{{2}}} * 3600 mod 3600 round 1" → "}}|d|{{#ifeq:0,0|{{#expr:{{{1}}} * 3600 mod 3600 round 1}},{{#expr:{{{2}}} * 3600 mod 3600 round 1}}"») |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifeq:0,0|{{#expr:{{{1}}} * 60 mod 60 round 1}},{{#expr:{{{2}}} * 60 mod 60 round 1}}|d|{{#ifeq:0,0|{{#expr:{{{1}}} * 3600 mod 3600 round 1}},{{#expr:{{{2}}} * 3600 mod 3600 round 1}}|dm|dms}}</includeonly><noinclude> | + | <includeonly>{{#ifeq:0,0|{{#expr:{{{1}}} * 60 mod 60 round 1}},{{#expr:{{{2}}} * 60 mod 60 round 1}}}}|d|{{#ifeq:0,0|{{#expr:{{{1}}} * 3600 mod 3600 round 1}},{{#expr:{{{2}}} * 3600 mod 3600 round 1}}}}|dm|dms}}</includeonly><noinclude> |
{{template doc}} | {{template doc}} | ||
</noinclude> | </noinclude> | ||
Revision as of 05:13, 18 March 2007
Given two decimal numbers which were converted from d/m/s, return the coordinate precision:
d | degrees |
dm | degrees, minutes |
dms | degrees, minutes, seconds |
Examples:
| {{coor/prec}} | |d||dm|dms}} |
| {{coor/prec}} | |d||dm|dms}} |
| {{coor/prec}} | |d||dm|dms}} |
| {{coor/prec}} | |d||dm|dms}} |
| {{coor/prec}} | |d||dm|dms}} |
| {{coor/prec}} | |d||dm|dms}} |
| The above documentation is transcluded from Template:Coor/prec dms/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |