Difference between revisions of "Template:Round"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
== Examples == | == Examples == | ||
* <code><nowiki>{{round|1.2345|2}}</nowiki></code> is {{round|1.2345|2}} | * <code><nowiki>{{round|1.2345|2}}</nowiki></code> is {{round|1.2345|2}} | ||
+ | *{{#expr:1.2345round2}} | ||
</noinclude> | </noinclude> |
Revision as of 00:49, 31 May 2022
Description
Rounds parameter 1 to parameter 2 decimal places.
Usage
{{round|1.2345|2}}
Examples
{{round|1.2345|2}}
is 1.23Template:Round/trailing- 1.23