JAVA四舍五入保留一位小数 new BigDecimal(speed).setScale(1, BigDecimal.ROUND_HALF_UP).doubleValue() java 2023-06-16 199 点赞 3 评论 301 浏览