String s = "12345678.89" ;
NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
NumberFormat nfc = NumberFormat.getCurrencyInstance(Locale.CHINA);
System.out.println(nf.format(Double.parseDouble(s)));
System.out.println(nfc.format(Double.parseDouble(s)));
自己试一下