Template talk:PGR
Appearance
Precision parameter
[edit]Greetings, may I have a precision parameter added to this template? I'd like to round the output to the nearest tenth of a percent. Cheers, Hwy43 (talk) 06:32, 25 June 2013 (UTC)
- Done. The parameter is called
prec
. I've also replaced the {{#expr: ... round ...
}} with {{#invoke:Math|precision_format|...|...
}} so that the minus signs are real minus signs (not hyphens) and trailing zeros don't disappear. Jimp 01:03, 26 June 2013 (UTC)- Thanks for enabling this parameter! Cheers, Hwy43 (talk) 07:20, 26 June 2013 (UTC)
- No problem. Jimp 09:46, 26 June 2013 (UTC)
- Thanks for enabling this parameter! Cheers, Hwy43 (talk) 07:20, 26 June 2013 (UTC)