爱笑红酒

文章
4
资源
1
加入时间
3年0月9天

LeetCode 258. Add Digits(数位相加)

原题网址:https://leetcode.com/problems/add-digits/Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the proces

BigDecimal相关

在使用FindBugs对代码进行审查时, 发现了一个Scary类别的错误, 错误消息: BigDecimal constructed from double that isn't represented precisely代码如下:BigDecimal taxRate = new BigDecimal(0.09);FindBugs给的完整描述为BigDecimal constructe