How to change number format symbols?
You can use the
DecimalFormatSymbols class to change the symbols that appear in the formatted numbers. These symbols include the decimal separator which can be changed using the
setDecimalSeparator(), the grouping separator which can be change using the
setGroupingSeparator() method. You can also alter the minus sign, and the percent sign, among others.