How to round up the values in Java? | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 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 odpowiedzi
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