title: Formatting a number to show commas and/or dollar sign
body: <p>I want to format my UILabel with commas or better with a dollar sign and commas (with no decimal).</p>
  
  <p>Here is the code I am using:</p>
  
  <pre><code>IBOutlet UILabel *labelrev
  
  float rev = (x + y)
  
  labelrev.text = [[NSString alloc] initWithFormat:@%2.f",rev];
  </code></pre>
  
  <p>I get xxxxxxxxx as the output I want to get xxx,xxx,xxx or $xxx,xxx,xxx</p>
  
  <p>How do I do that?</p>