Difference between revisions of "Template:Convert"

From Omniverse Nexus
Jump to navigation Jump to search
Line 2: Line 2:
 
|km  = {{{1}}} km ({{#expr:{{{1}}}*(5/8)round1}} mi)
 
|km  = {{{1}}} km ({{#expr:{{{1}}}*(5/8)round1}} mi)
 
|mi  = {{{1}}} mi ({{#expr:{{{1}}}*(8/5)round1}} km)
 
|mi  = {{{1}}} mi ({{#expr:{{{1}}}*(8/5)round1}} km)
|m  = {{{1}}} m ({{#expr:trunc({{{1}}}*3.281)}}' {{#expr:trunc(({{{1}}}*39.37)-({{{1}}}*3.281round0)*12)}}")
+
|m  = {{{1}}} m ({{#expr:trunc({{{1}}}*3.281)}}' {{#expr:trunc(({{{1}}}*39.37)-trunc({{{1}}}*3.281)*12)}}")
 
|ft  = {{{1}}} ft ({{#expr:{{{1}}}*0.35round1}} m)
 
|ft  = {{{1}}} ft ({{#expr:{{{1}}}*0.35round1}} m)
 
|c  = {{{1}}}°C ({{#expr:({{{1}}}*1.8)+32round1}}°F)
 
|c  = {{{1}}}°C ({{#expr:({{{1}}}*1.8)+32round1}}°F)

Revision as of 03:24, 27 June 2020

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:Convert/doc to edit this text! (How does this work?)