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.
Fixed.
Which language?
Fixed, Thanks.
You can do the change of percentage when you want... but calculate with the correct one at the end of the month. Once more, description says:
My solution is not maybe the best but if you have time take a look at it:-)
Description:
With the example given in the description
nbMonths(2000, 8000, 1000, 1.5) should return [6, 766]
you get for "months", "percentLossByMonth", "available" (rounded):
The thing to understand is: at each step you use the correct percentLossByMonth before doing your calculations. Is that clearer?