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.
ah yes codewars teaching us math lessons yet again..
This dojo makes me a poet!
Here is my poem for this exercise:
Here is my poem for this exercise:
-- I thought I could round with ROUND(),
-- I even thought I could cast something with CAST(),
-- but only trunc() helped me before I truncated, while I was progressing!
-- The decimals danced away, ROUND couldn’t stay,
-- But trunc() stepped in, leading the way!
ARE YOU KIDDING ME??!!
This comment is hidden because it contains spoiler information about the solution
i guess its too easy...but i learned about 2 new postgre functions for me!)
bruh
Too easy for 6 kyu imo
Fixed.
added
fixed (the second semicolon of the
for
loop was missing)added random tests and a test for
0
in PHP. checking whether the user fixed the bug or completely redefined the function is out of scope of an 8 kyu kata, and none of the languages do it.fixed
Fixed by fork above
Approved, thanks!
Loading more items...