Numformat

From Sega Retro

Inserts or removes commas from numbers that are 1,000 or larger.

Usage

  • {{numformat|123}} -> 123
  • {{numformat|1234}} -> 1,234
  • {{numformat|1,234}} -> 1234
  • {{numformat|1234567890}} -> 1,234,567,890
  • {{numformat|123456789}} -> 123,456,789