Jump to content

Template talk:PGR

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:PGR/doc)

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]