title: CultureInfo.NumberFormat Hide Comma
body: <p>I am trying to create a NumberFormat that will not use Groups at all.</p>
  
  <p>I would like all numbers to be displayed with NO commas.</p>
  
  <p>Example: </p>
  
  <ul>
  <li>1999 instead of 1,999 </li>
  <li>2000000 instead of 2,000,000 </li>
  <li>etc...</li>
  </ul>
  
  <p>Unfortunately, I am using a 3rd Party control that is a NumericEditor and it applies a CultureInfo setting on it to show commas. So I need to create a <code>CultureInfo</code> instance that doesn't use Grouping at all.</p>
  
  <p>I have tried this:</p>
  
  <pre><code>int[] groupSize = {0};
  CultureInfo culture = new CultureInfo("en-US");
  culture.NumberFormat.NumberGroupSizes = groupSize;
  </code></pre>
  
  <p>Also...</p>
  
  <pre><code> CultureInfo culture = new CultureInfo("en-US");
   culture.NumberFormat.NumberGroupSeparator = String.Empty; // Throws and exception with the 3rd party control
  </code></pre>
  
  <p>The closest I have gotten is...</p>
  
  <pre><code> CultureInfo culture = new CultureInfo("en-US");
   culture.NumberFormat.NumberGroupSeparator = " ";
  </code></pre>
  
  <p>I don't like this solution at all because instead of a comma its white space and it definitely looks odd.</p>
  
  <p>Any ideas?</p>