Index: trunk/extensions/SemanticResultFormats/Math/SRF_Math.php |
— | — | @@ -20,7 +20,8 @@ |
21 | 21 | |
22 | 22 | public function getResult( $results, $params, $outputmode ) { |
23 | 23 | $this->readParameters( $params, $outputmode ); |
24 | | - return $this->getResultText( $results, SMW_OUTPUT_HTML ); |
| 24 | + global $wgLang; |
| 25 | + return $wgLang->formatNum($this->getResultText($results, SMW_OUTPUT_HTML)); |
25 | 26 | } |
26 | 27 | |
27 | 28 | protected function getResultText( $res, $outputmode ) { |