So zeigen Sie den Dezimalwert bei 0 After Point Android Studio an
float price = 4.30;
// Choose the number of decimal places to work with in case they are different
//than zero and zero value will be removed
DecimalFormat format = new DecimalFormat("0.##");
format.setRoundingMode(RoundingMode.DOWN); // Choose your Rounding Mode
System.out.println(format.format(price));
Mohamed Boumlyk