科学转换法

 1 java.text.NumberFormat nf = java.text.NumberFormat.getInstance(); 2 Double value=data.getDouble("price"); 3 show_jewelry_money.setText(nf.format(value) + "元"); 
原文地址:https://www.cnblogs.com/wangying222/p/7473846.html