Extension:FormatNum

Extension FormatNum makes it easier to format numbers in the style you want, independent of language settings.


 * Usage


 * Example
 * result: 2 300,12
 * result: 2 300,12


 * result: 2,300.12
 * result: 2,300.12


 * result: 2,300.12
 * result: 2,300.12


 * result: 2&thinsp;300,12
 * result: 2&thinsp;300,12

As thousand separator there can be also used the following parameters
 * n – will be
 * t – will be &thinsp;

Installation
Download the files from SVN. But them in /extensions/FormatNum and but the following to your LocalSettings.php

Use Example
On Wikipedia formatting of numbers is done with complex templates like this. With the #formatnum parser this would be a lot easier.