title: How to print a number using commas as thousands separators
body: <p>How do I print an integer with commas as thousands separators?</p>
  <pre><code>1234567   ⟶   1,234,567
  </code></pre>
  <p>It does not need to be locale-specific to decide between periods and commas.</p>