Index: trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php |
— | — | @@ -341,9 +341,11 @@ |
342 | 342 | /* Protected Static Methods */ |
343 | 343 | |
344 | 344 | protected function formatNumber( $number ) { |
345 | | - global $wgLang; |
346 | | - |
347 | | - return $wgLang->formatNum( round( $number, 2 ) ); |
| 345 | + //global $wgLang; |
| 346 | + //return $wgLang->formatNum( round( $number, 2 ) ); |
| 347 | + |
| 348 | + // This may not be locale aware, but it's what we actually want (2 decimals and leading 0s) |
| 349 | + return number_format( $number, 2 ); |
348 | 350 | } |
349 | 351 | |
350 | 352 | protected function getCategories() { |