Why does it print 0? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why does it print 0?

double d = 100 / 1625; System.out.println(d); // 0.0 ... and on the calculator it prints 0,061538 How can i get this output in java?

22nd Jun 2020, 2:02 AM
Juan Debenedetti
Juan Debenedetti - avatar
0 Respuestas