Math - Rounding - Challenge (JAVA)


Hey there folks!
I came up this this solution in Java. I know, not all is implemented with the Math-funciton, but please give it a try :slight_smile: .

UPDATE:

Now this is another method to do this, but personally for me it’s not that beauty… but here you go :slight_smile:

(I just couldn’t find any other solution in the Java API)

PS: I am not a nativ English speaker, please excuse my mistakes :c

That looks good!

Nice to see that you immediately apply the math in your code!
Keep up the good work :smile:

Kind regards, Lisa

1 Like

Privacy & Terms