FormatNumber
From Sonic Retro
Revision as of 06:25, 19 October 2019 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{{#vardefine:i|{{#len:{{{1|}}}}}}}{{#while: |{{#ifexpr:{{#var:i}} > 0|true}} |{{ #sub:{{{1|}}}|-{{#var:i}}|1}}{{#ifexpr:{{#var:i}} > 3|{{#ifexpr:({{#var:i}}-1) mo...")
Revision as of 06:25, 19 October 2019 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{{#vardefine:i|{{#len:{{{1|}}}}}}}{{#while: |{{#ifexpr:{{#var:i}} > 0|true}} |{{ #sub:{{{1|}}}|-{{#var:i}}|1}}{{#ifexpr:{{#var:i}} > 3|{{#ifexpr:({{#var:i}}-1) mo...")
A means of inserting commas into long numbers to denote thousands
Examples
- 1234567 -> 1,234,567
- 12345678 -> 12,345,678
- 123456789 -> 123,456,789
- 1234567890 -> 1,234,567,890