import java.text.DecimalFormat;DecimalFormat df = new DecimalFormat("0.00");
df.format(数值);