Template:Big number
Jump to navigation
Jump to search
What this does
This allows to format numbers by grouping thousands and adding the comma. This will work only on positive integers up to 18 digits in length. At present it will not show decimals, and it will not process negative numbers.
Static examples
{{Big number|1234}}
|
1,234 |
{{Big number|1234567890}}
|
1,234,567,890 |
{{Big number|12345.67890}} Decimals will not display
|
12,345 |
{{Big number|123456789012345678}}
|
123,44116,789,012,345,680 |
{{Big number|12345678901234567890}} Excess of 18 digits will not work |
12345,-1-473-6,-2-8-3,-5-8-5,-10-9-5,-5-5-8 |
Dynamic example
{{Big number|0}}
|
0 |
Note the dynamic value cannot process numbers larger than 12 digits in length