title: How to format numbers as thousands separators in Dart
body: <p>I have to format numbers as thousands separators in dart. I have numbers like:</p>
  <pre><code>16987
  
  13876
  
  456786
  </code></pre>
  <p>and I want to format them as :</p>
  <pre><code>16,987
  
  13,876 
  
  4,56,786
  </code></pre>