Starblaster64 (talk | contribs) (Fixed template inserting a linebreak.) |
Starblaster64 (talk | contribs) (Added to Category:Formatting templates.) |
||
Line 10: | Line 10: | ||
No Decimal Places |
No Decimal Places |
||
-->{{#expr: {{{1|<Noinclude>42.555</Noinclude>}}} round 0}}}}}}</IncludeOnly> |
-->{{#expr: {{{1|<Noinclude>42.555</Noinclude>}}} round 0}}}}}}</IncludeOnly> |
||
− | <noinclude>{{clear}}{{doc}} |
+ | <noinclude>{{clear}}{{doc}} |
+ | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 16:46, 11 July 2020
Usage
{{Round | Number to round | Number of decimal places (0, 1 or 2) //Optional, Defaults to 0 }}
Example
{{Round | 42 | 2 }} {{Round | 42 | 1 }} {{Round | 42.55 | 0 }} {{Round | 42.55 }}
42.00
42.0
43
43
The above documentation is transcluded from Template:Round/doc. (edit | history)