Difference between revisions of "Template:Roundcalc"

From Isleward Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Round | {{#expr: {{{1|}}} | {{{2|0}}} }}</includeonly><noinclude> == Description == Performs a calculation and rounds the output. == Usage == <pre> {{rndcalc |...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{Round
 
<includeonly>{{Round
| {{#expr: {{{1|}}}
+
| {{#expr: {{{1|}}}}}
 
| {{{2|0}}}
 
| {{{2|0}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Line 8: Line 8:
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
{{rndcalc | calculation | decimal places}}
+
{{roundcalc | calculation | decimal places}}
 
</pre>
 
</pre>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:56, 31 May 2022

Description[edit]

Performs a calculation and rounds the output.

Usage[edit]

{{roundcalc | calculation | decimal places}}