https://bugzilla.wikimedia.org/show_bug.cgi?id=20217
--- Comment #4 from Patrick <[email protected]> 2009-09-18 04:11:29 UTC --- I created a tiny extension called Number_format that wraps PHP's number_format() function [1] as a temporary workaround. The source is available at [2]. It can be used in conjunction with 'format=template'. Example: Lets say {{{1}}} (= 9823.2) is a monetary amount: {{ #number_format: {{{1}}} | 2 }} -> 9,823.20 or, for example for German: {{ #number_format: {{{1}}} | 2 | , | . }} -> 9.823,20 [1]: http://www.php.net/manual/en/function.number-format.php [2]: http://patrick-nagel.net/misc/2009/Number_format.php.txt -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
