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.
Soo I have been able to solve this kata in R with the same implementation but in javascript I seem to recieve a "undefined while the expecteed is 25" altho I used a console.log instead of "return" and the console do log 25 but the test still returns "undefined".
I do round value by 2 decimals, But in some places there is no decimals value rounded( example: expected:80 got:80.09.
Thus, there is another rule needing to be applied for how to round the values. I do not know how to do that.
This comment is hidden because it contains spoiler information about the solution
don't mind the comment I forgot to remove it, hence nothing went wrong.
I like this kata. One of the easiest (probably the easiest one), the solutions are the funniest though :-) I like it.
approved
COBOL translation awaiting review and approval.
Soo I solved it but in the error code 5 becomes -4.25 and -4.25 is not five's opposite?