mabaishui

让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)); 

 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-10
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2021-12-02
  • 2021-04-28
  • 2021-10-05
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案