currency format problem with bigdecimal values
Hi Guys
I have a problem to format bigdecimal values to currency format with the Java methode Decimalformat.
input is: 2345678901234567890.123457 after methode below we return the formatted value: 2'345'678'901'234'567'700.000000
Is it possible that methode "DecimalFormat" has a problem with bigdecimal values? Do you have a hint or a solution for this problem?
DecimalFormatSymbols dfs = new DecimalFormatSymbols();
dfs.setGroupingSeparator('\'');
DecimalFormat df = new DecimalFormat("###,###,###,###,###.000000", dfs);
String formattedNumberFormat = df.format( bigdecimalValue );
System.out.println(formattedNumberFormat);
Thanks for your help
Robert

