my program uses

So I have 1 decimal place, however I have another calculation within my program that I want to calculate to 2 decimal places.Code:`DecimalFormat bodymass = new DecimalFormat("#0.0");`

Is this possible?Code:`DecimalFormat bodymass = new DecimalFormat("#0.00");`