How to format numbers with no grouping separator
<p>Hi I'm traying formating BigDecimal value by using DecimalFormat.format() methods. My problem is how to set DecimalFormat exactly DecimalFormatSymbol to format text without any grouping separators. I'd like use simple way, how to set grouping symbol and use format methods. I know how to do differently by using replace or others methods but it's not what I want. So i need to know how to set empty character to grouping operator.</p>

<p>Example:</p>

<pre><code>DecimalFormat dec = new DecimalFormat();
DecimalFormatSymbols decFS = new DecimalFormatSymbols();
decFS.setGroupingSeparator( '\0' );
dec.setDecimalFormatSymbols( decFS );
BigDecimal number = new BigDecimal(1000);
String result = dec.format(number);
</code></pre>

<p>I want to get string "1000" with no any others characters. Pls help</p>

<p>note(react to post): I want formating number, only without grouping.</p>
