Double 转 BigDecimal

double b= 4.1625;
java.math.BigDecimal d= new java.math.BigDecimal( b);
posted @ 2017-03-01 10:42  已老  阅读(2833)  评论(0)    收藏  举报