62,635
社区成员




String dd = String.format("%.2f", new BigDecimal(50000).movePointLeft(2).doubleValue());
System.out.println("dd="+dd);
import java.text.DecimalFormat;
DecimalFormat dec = new DecimalFormat("0.00");
String dd = dec.format("%.2f", new BigDecimal(50000).movePointLeft(2).doubleValue());
System.out.println("dd=" + dd);