java小数点后两位 java怎么限制小数点后位数 Java计算中,如何设定小数点保留位数?方法1:舍入双精度f=111231.5585bigdecimal B=new BigDecimal(f)double F1=B.... 2021-03-10 2386次浏览