int decimalPlaces = 2;
// Truncates the big decimal value.
bd = bd.setScale(decimalPlaces, BigDecimal.ROUND_DOWN);
String string = bd.toString();
int decimalPlaces = 2;
// Truncates the big decimal value.
bd = bd.setScale(decimalPlaces, BigDecimal.ROUND_DOWN);
String string = bd.toString();