new BigDecimal(int i); BigDecimal.parseBigDecimal(String.valueOf(int i)); 转载于:https://www.cnblogs.com/zienzir/p/9232817.html