title: Cannot format BigDecimal: Method threw 'java.lang.NumberFormatException' exception
body: <p>I have the following code:</p>
  <pre><code>DecimalFormat df = new DecimalFormat(&quot;####.00&quot;);
  BigDecimal amount = new BigDecimal(&quot;0&quot;);
  
  new BigDecimal(df.format(amount));
  </code></pre>
  <p>This is my output:</p>
  <pre><code>&quot;,00&quot; // Method threw 'java.lang.NumberFormatException' exception.
  </code></pre>
  <p>But what I need is:</p>
  <pre><code>0.00 (or something like that)
  </code></pre>
  <p>I don't have any further information, sorry.</p>