double轉bigdecimal精度問題

new bigdecimal(double d) 會致使精度不許確。 new bigdecimal(doubble+"")或bigdecimal.valueof(double)可解決。
相關文章
相關標籤/搜索