I want to keep 2 fraction digits for double values. What is the best way to do it to avoid changing the values to a non-numeric
String?
For example, when I use NumberFormat.format, it changed 1576.73 to 1,576.73 which can't not be used for further calculation. When I used DecimalFormat.format, it also generated some non-numeric characters in the value so that I can't use Double.parseDouble() to change the final string to a double value.
Thanks.