How to round up the values in Java? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

How to round up the values in Java?

56.1754 output is 56.18

2nd Sep 2018, 6:48 AM
Mallika Das
Mallika Das - avatar
2 Antworten
0
make a program on it get all value after point and test the value is greater or not by 5 nd then vonvert
3rd Sep 2018, 12:41 PM
Aarav Raj
Aarav Raj - avatar