title: Java format Number/Amount to
body: <p>I would like to format an amount : the required format is : #.##0,00
  example : 299.552.698,05 or 299.552.698,00</p>
  
  <p>When I try to use  </p>
  
  <pre><code>  (new DecimalFormat("#.##0,00")).format($F{amount}.doubleValue())
  </code></pre>
  
  <p>It causes an exception and whan I try to use : </p>
  
  <pre><code>NumberFormat.getCurrencyInstance(Locale.ENGLISH).format($F{amount}.doubleValue())
  </code></pre>
  
  <p>I have the symbole of the currency which I don't want to print.</p>