Double 转 BigDecimal

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