Difference between revisions of "Template:Round"

From Isleward Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
* <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}}
 
*{{#expr:1.2345round2}}
 +
*{{Round/trailing|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