0
How to round number after decimal useing double
Example 38.567 but I want the print to say 38.57?
24th Sep 2017, 6:23 PM
Joshua Smith

1 Respuesta
+ 15
System.out.printf("%.2f", 38.567);
24th Sep 2017, 6:26 PM
Dev

¿Tienes a menudo preguntas como esta?
Aprende gratis de forma más eficaz
En tendencia hoy
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Sololearn course
1 Votes
Best language?
0 Votes