9 Replies Latest reply on Jul 13, 2011 12:21 PM by 826828

    Error java.lang.ArithmeticException: Rounding necessary

    826828
      hi all.

      i have got error "java.lang.ArithmeticException: Rounding necessary" in following line

      String DividendAmountStr=String.valueOf(new BigDecimal(DividendAmount).setScale(2));

      what should be problem?

      -Balaji