Author: D.U.Thibault
Description:
Two separate issues, really. The first is that the formatnum: parser function won't introduce separators as expected in the decimal part. For example, {{formatnum:0.1234567}} should render "0.123,456,7". This may be a localisation issue, and the option to format decimals in this way should at least be offered.
Secondly, formatnum: expects its input in a specific format, which is incongruous once localised. For example, French wikipedia templates that mix formatnum: parameters with non-formatnum: ones will force the user to specify the first with a period, the second with a comma. There should be an option (or an alternate parser function) that expects the input to be already localised, as far as the decimal separator goes.
For example, {{formatnum:123456.789012}} should give "123,456.789,012" under English localisation, "123 456,789 012" under French. But what most French contributors will want to write is "{{formatnum:123456,789012}}".
Version: unspecified
Severity: enhancement