Fix checks for compound and level interest in Amount class
genedan opened this issue · comments
Gene Dan commented
Certain growth functions aren't defined on all real numbers, so when the checks use an invalid domain value , a ZeroDivisonError may happen. There's a temporary fix pushed, but these routines can be more thoughtfully written.