Cara Menampilkan Nilai Desimal Saat 0 After Point Android Studio
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