让Double类型完整显示,不用科学计数法显示E
转自:
http://essay.javaeye.com/blog/709428
DecimalFormat df = new DecimalFormat("0");
Double d = new Double("1.397545871E10");
System.out.println(df.format(d));
DecimalFormat df = new DecimalFormat("0");
Double d = new Double("1.397545871E10");
System.out.println(df.format(d));