Template talk:PGR

(Redirected from Template talk:PGR/doc)
Latest comment: 11 years ago by Jimp in topic Precision parameter

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)Reply

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)Reply
Thanks for enabling this parameter! Cheers, Hwy43 (talk) 07:20, 26 June 2013 (UTC)Reply
No problem. Jimp 09:46, 26 June 2013 (UTC)Reply