https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #2 from Lenore <onthewh...@gmail.com>  2009-03-15 02:00:00 UTC ---
(In reply to comment #1)
> On it.wikipedia it looks like the decimal separator already is ",", and the
> thousands separator is ".". It should be possible to change
> $separatorTransformTable in MessagesIt.php to use &thinsp instead.
> 
> (Changing component, since formatnum is not in the ParserFunctions extension)
> 
In effect, there's something strange in this function. Some examples

{{formatnum:299792458,56789}} gives 299.792.458.56.789
{{formatnum:299792458.56789}} gives 299.792.458,56789
{{formatnum:299.792.458.56.789|R}} gives 29979245856789
{{formatnum:299.792.458,56789|R}} gives 299792458.56789

it seems to recognize dot as decimal separator and then, effectively, changes
it in a comma. Instead it should be (at the moment)

{{formatnum:299792458,56789}} gives 299.792.458,56789

right?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to