This template is used to perform a calculation and then round the output.
{{rounded calculation|<calculation>|<decimal places>}}
{{rndcalc|<calculation>|<decimal places>}}
{{rounded calculation|900/5,679|5}}
: 0.15848{{rounded calculation|2/3 * 4^2|1}}
: 10.7{{rndcalc|2/3|0}}
: 1{{rounded calculation|12345|-2}}
: 12,300This template is used to perform a calculation and then round the output.
Parameter | Description | Type | Status | |
---|---|---|---|---|
calculation | 1 | a calculation
| String | required |
decimal places | 2 | number of decimal places
| Number | optional |