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.
Same issue here. Going to mark this as a major issue because it blocks the actual submission.
Let me know if I'm wrong and if it gets solved someday :)
Why not define two or more decimal values and include it in the format?
The kata could include the following, as parameters of the function:
example prototype: def to_currency(price, precision=0, decimal_sep=".", thousand_sep=",")
results:
to_currency(1234, 0, ".", ",") => 1,234
to_currency(123456, 2, ".", ",") => 1,234.56
to_currency(1234, 3, ",", ".") => 1,123
This comment is hidden because it contains spoiler information about the solution