摘要: 1.只要输出结果 double x1 = 0.026; System.out.println(String.format("%.2f", x1)); 2.数据转换 //方案一: get_double = (double)(Math.round(result_value*100)/100.0) //方 阅读全文
posted @ 2020-07-15 09:04 农名工进城 阅读(534) 评论(0) 推荐(0) 编辑