Similar to comma separated thousand NSString stringWithFormat but with a specific use case.
How do I insert a comma (,) after every third digit?
Some cases:
- 9999999 → 9,999,999
- 1234 → 1,234
- 3432423455435435 → 3,432,423,455,435,435
The results are expected regardless of locale or any other circumstance.