5th Sep 2018, 11:34 AM
nuckkkk
nuckkkk - avatar
2 Réponses
+ 1
use System.out.printf("%.0f",d); For formatted output. %f will show a lot decimal zeros, to get rid of them use %.0f
5th Sep 2018, 11:48 AM
Matthias
Matthias - avatar
0
Thank you so much
5th Sep 2018, 12:19 PM
nuckkkk
nuckkkk - avatar