Double 转 BigDecimal

double b= 4.1625;
java.math.BigDecimal d= new java.math.BigDecimal( b);
原文地址:https://www.cnblogs.com/xzhg/p/6483146.html