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 Resposta
+ 15
System.out.printf("%.2f", 38.567);
24th Sep 2017, 6:26 PM
Dev

Costuma ter perguntas como essa?
Aprenda de maneira mais eficiente, de graça:
Quente hoje
Solving coding challenges
2 Votes
I am new
1 Votes
Advertising in Sololearn
1 Votes
RUST'S FUTURE
1 Votes
Programming Language
0 Votes