javadouble保留两位小数 java随机数random怎么用 如何将double类型保留2位小数?方法1:舍入doublef=111231.5585BigDecimal LB=newbigdecimal(f)doublef1=b.... 2021-03-10 2795次浏览