How to round up the values in Java? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
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