Template:Convert: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Drumguy8800
(fix identification of round variable, add minor instructions)
m (1 revision imported)
 
(128 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{{{1}}} [[{{#switch: {{{2|}}}|m=metre{{!}}m|ft=foot (unit of length){{!}}ft}}]] ({{ #expr: {{{1}}} * {{ #switch: {{{2|}}}
<includeonly>{{{{{|safesubst:}}}#invoke:convert|convert}}</includeonly><noinclude>
|ft = {{#switch: {{{3|}}}|m=0.3048}}
{{documentation}}
|m  = {{#switch: {{{3|}}}|ft=3.2808399}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
}} 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>
</noinclude>

Latest revision as of 10:43, 6 September 2021

Lua error: Internal error: The interpreter has terminated with signal "24".