I tried to make manual currency. Here is my code
DecimalFormat df = new DecimalFormat();
DecimalFormatSymbols dfs = new DecimalFormatSymbols();
dfs.setCurrencySymbol("$");
dfs.setGroupingSeparator( . );
dfs.setDecimalSeparator( . );
df.setDecimalFormatSymbols(dfs);
System.out.println(df.format(3333454));
方案产出
3.333.454
我确定的货币编号为何没有出现?