title: Add commas to every three digits in the number which is in float format
body: <p>I have a float number in a string, I need to add commas to every three digits of the number.</p>
  
  <p>Here is what I had tried,</p>
  
  <pre><code>NSString *mystring =@"20090809.99";
  float fl = [mystring floatValue];
  NSNumberFormatter *formatter = [NSNumberFormatter new];
  [formatter setNumberStyle:NSNumberFormatterDecimalStyle];
  NSLog(@"%@ ", [formatter stringFromNumber:[NSNumber numberWithFloat:fl]]);
  </code></pre>
  
  <p>I need the result as <code>20,090,809.99</code>. What should I change in my code?</p>