Template:Round/doc

Rounds a number, adding trailing 0s for cleaner table sorting if necessary.

Usage
The first parameter is the number, the second parameter (alternatively the  parameter) are the number of decimal places to round to. Trailing 0s are added up to the number of digits specified.

A negative number simply floors - to round to an integer place, use #expr with the round function.

Commas are supported in the value, but not in the rounding.


 * Examples
 * = 111
 * = 556
 * = 111