将钱转成转换为带指定单位的钱
int money = 10; NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US); System.out.println(nf.format(money));