Difference between revisions of "Template:Round"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#expr:{{{1}}}round{{{2}}}}}{{Round/trailing|{{{1}}}|{{{2}}}}}<!-- </includeonly><noinclude> == Description == Rounds parameter 1 to parameter 2 decimal places....") |
|||
Line 10: | Line 10: | ||
== Examples == | == Examples == | ||
− | * <code>{{round|1.2345|2}}</code> is {{round|1.2345|2}} | + | * <code><nowiki>{{round|1.2345|2}}</nowiki></code> is {{round|1.2345|2}} |
</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