Having a lot of trouble rounding a value to display in a textView.
I basically wanna round it to two decimal places but at the moment I am getting a long trail of different numbers.
I am playing around with BigDecimal but no luck so far...
public void calc() {
BigDecimal bd = new BigDecimal(subTotal);
bd.setScale(2, BigDecimal.ROUND_DOWN);
total.setText(String.valueOf(bd));
}