liuxiuhao

 

        double a = 345.0;
        Object b = a;
        NumberFormat n=NumberFormat.getInstance(); 
        n.setParseIntegerOnly(true);
        String d=n.format(b);
        long c = Long.parseLong(d);

分类:

技术点:

相关文章:

  • 2021-08-03
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-10-24
  • 2021-07-20
猜你喜欢
  • 2021-11-18
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
相关资源
相似解决方案