这个可以定义数据的长度
DecimalFormat df = new DecimalFormat();
df.applyPattern("0000000.00");
System.out.println(df.format(3.5811032E7));
DecimalFormat df = new DecimalFormat();
df.applyPattern("0000000.00");
System.out.println(df.format(3.5811032E7));
提示不支持format?