int如何转换成BigDecimal

int怎么转换成BigDecimal?
int i = 0;
i怎么转换成BigDecimal类型?


------解决方案--------------------
Java code
new BigDecimal(i);