Template:Format num


Usage

  • {{format num|12| }} -> 12
  • {{format num|12|,}} -> 12
  • {{format num|123| }} -> 123
  • {{format num|123|,}} -> 123
  • {{format num|123456| }} -> 123 456
  • {{format num|123456|,}} -> 123,456
  • {{format num|123456789| }} -> 123 456 789
  • {{format num|123456789|,}} -> 123,456,789

The number must be less than 1000000000.