title: Cannot format given Object as a Number
body: <p>this piece of code throw me: Cannot format given Object as a Number</p>
  
  <pre><code>  private BigDecimal notional;
  
   public String getNotional() {
      System.out.println("notional:" + notional);
      otherSymbols.setDecimalSeparator(',');
      otherSymbols.setGroupingSeparator('.'); 
      System.out.println("notional:" + notional);
      String format = df.format(notional);
      System.out.println("notional2:" + format);
  
  
      if(notional!=null)
      notional = new BigDecimal(df.format(notional));
      return notional.toString();
   }
  </code></pre>
  
  <p>why?</p>
  
  <pre><code>   javax.el.ELException: /pages/emir/acknowledgedTransactions.xhtml @484,160 value="#{ackTxContractBean.firstleg.notional}":
      java.lang.IllegalArgumentException: Cannot format given Object as a Number
  </code></pre>
  
  <p>notional: 2279713.86
  notional2: 2.279.713,86</p>