Closed alloylab closed 4 months ago
Awesome, thanks for your contribution. I'd however like to discuss some points with you before merging this, so that the code is consistent:
You definitely don't have to make any changes if you don't want to, I can do this instead as an additional commit. Also discussion is welcome if you have any remarks on this.
Sorry for the delay been swamped... i think i addressed most your concerns here... if I missed anything please let me know I will fix them
Hello, sorry for my late reply, thanks for you contribution, but I see that the tests are failing (it seems like something in the class DebtAmortizator, from the looks of the output on Travis). Please have a look at it if you can.
added round_up & round_down to mathfuncs, added debtSingleRepayment_Rounded & debtRepayments_Rounded to DebtAmortizator… added beginning and ending balance to test round math worked out. Decided to keep since I think it would be nice have in there. Rounding logic was decided on when testing against a couple official amortization schedules