Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I read "There's a rule that zeros must never be rounded!" as either
CustomMath.Round(x, y, 0) == CustomMath.Round(x, y, 1)
or
CustomMath.Round(x.0, 0, 0) == x but CustomMath.Round(x.01, 0, 0) == x + 1
So I took zeros to refer to a zero as a rounding decimal digit not as the entire number.
It took some trial and error with the tests to work out what it was intended to mean.
Not an issue?
I appreciate your nice feedback.
Actually in the description is stated that zeroes must not be rounded as follows:
"There's a rule that zeros must never be rounded!"
I've removed the JS.
Why
while
It's inconsistent. If you insist to do this, please put it in the description.
This comment is hidden because it contains spoiler information about the solution