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 was having the same issue and it was driving me crazy. Using round or int, or even boolean did not work. I wrote my code all from the start. It calculates the seconds to catch up from there, goes to hs. And that worked. Otherwise, it was giving me either wrong rouding up or wrong rounding down errors. Try it.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If you are having some weird issues I suggest you calculate values using seconds as basis. I've had problems with rounding too and it worked for me
if so many people have passed this kata, then please explain that this kata is about solving rounding errors and not about a Tortoise race.
if it weren't for the rounding issue, this is a great kata, but I'm going to just have to "fail" it and move on, this is infuriating. i can't get it to work in any lang so far.
I'm having the same issue. I calculate a minutes that's 19.99999999 which rounds to 19 and is my only error. I'm not sure how to fix it. Anyone?!
how do you solve the rounding errors?
This comment is hidden because it contains spoiler information about the solution