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