A simply way to convert a integer to bigdecimal in java:
int myInt = 34;
BigDeciminal bd = new BigDecimal(myInt);
The constructor allows many other types: BigDecimal class
A simply way to convert a integer to bigdecimal in java:
int myInt = 34;
BigDeciminal bd = new BigDecimal(myInt);
The constructor allows many other types: BigDecimal class