Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
How to round number after decimal useing double
Example 38.567 but I want the print to say 38.57?
1 Odpowiedź
+ 15
System.out.printf("%.2f", 38.567);
Example 38.567 but I want the print to say 38.57?