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

--- Comment #8 from Platonides <[email protected]> 2012-10-14 14:42:12 UTC 
---
You are trying to indifferently use formatnum: for two different functions

If you want to convert to Slovenian notation use:
{{formatnum: <number>}}

If you want to convert from Slovenian to make operations use:
{{formatnum: <number>|R}}


{{formatnum:{{#expr: {{formatnum:6,0|}}/{{formatnum:2,5|R}} }} }}  result: 2,4
{{formatnum:{{#expr: {{formatnum:5|R}}/{{formatnum:2|R}} }} }} result: 2,5
{{formatnum:{{#expr: {{formatnum:10000|R}}/{{formatnum:10|R}} }} }} result:
1.000 


Use of {{formatnum: <number> }} to convert from Slovenian to English notation
will apparently work (as it will just be interchanging , and .) but trying to
use that for matematics will fail with numbers greater than 10³ (the thousands
separator will get into the way).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to