Template:Convert: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Drumguy8800
whoops, close out
meta>Drumguy8800
fix identification of round variable, add minor instructions
Line 2: Line 2:
|ft = {{#switch: {{{3|}}}|m=0.3048}}
|ft = {{#switch: {{{3|}}}|m=0.3048}}
|m  = {{#switch: {{{3|}}}|ft=3.2808399}}
|m  = {{#switch: {{{3|}}}|ft=3.2808399}}
}} round {{#ifeq: {{{4|}}} | | | {{{4}}} }}}}&nbsp;[[{{#switch: {{{3|}}}|m=metre{{!}}m|ft=foot (unit of length){{!}}|ft}}]])<noinclude>{{esoteric}}</noinclude>
}} round {{#if: {{{4|}}} | {{{4}}} }}}}&nbsp;[[{{#switch: {{{3|}}}|m=metre{{!}}m|ft=foot (unit of length){{!}}|ft}}]])<noinclude>{{esoteric}}<br/>Use in the following matter: <code><nowiki>{{convert|original value|original unit|conversion unit|round to}}</nowiki></code><br/><br/>'''Rounding:''' The number given for rounding rounds off the result to the power of 1/10 the rounding number.  For instance, if the result is 8621 and the round number is '-2', the result will be 8700.  If the result is '234.0283043' and the round number is '0', the result will be 234.</noinclude>

Revision as of 18:36, 11 December 2006

{{{1}}} [[]] (Expression error: Unrecognized punctuation character "{". ft)Template:Esoteric
Use in the following matter: {{convert|original value|original unit|conversion unit|round to}}

Rounding: The number given for rounding rounds off the result to the power of 1/10 the rounding number. For instance, if the result is 8621 and the round number is '-2', the result will be 8700. If the result is '234.0283043' and the round number is '0', the result will be 234.