1 java.text.NumberFormat nf = java.text.NumberFormat.getInstance(); 2 Double value=data.getDouble("price"); 3 show_jewelry_money.setText(nf.format(value) + "元");
时间: 2024-10-28 15:26:28
1 java.text.NumberFormat nf = java.text.NumberFormat.getInstance(); 2 Double value=data.getDouble("price"); 3 show_jewelry_money.setText(nf.format(value) + "元");