double转bigdecimal精度问题

new bigdecimal(double d) 会致使精度不许确。 new bigdecimal(doubble+"")或bigdecimal.valueof(double)可解决。
相关文章
相关标签/搜索