阅读背景:

失去从java BigDecimal到double的精度转换

来源:互联网 

I am working with an application that is based entirely on doubles, and am having trouble in one utility method that parses a string into a double. I've found a fix where using BigDecimal for the conversion solves the issue, but raises another problem when I go to convert the BigDecimal back to a double: I'm losing several places of precision. For example:I am working with an application that is based




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: