genedan / TmVal

Time Value of Money - a Python package for mathematical interest theory, annuity, and bond calculations.
https://genedan.com/tmval/docs
GNU General Public License v3.0
30 stars 4 forks source link

allow instantiation of compound interest rate by supplying a float to Rate() #26

Closed genedan closed 4 years ago

genedan commented 4 years ago

right now Rate() needs several arguments for the most common form, single-period compound interest. To make things more convenient, simply calling something like Rate(.05) should result in a compound interest rate of 5% for a 1-year period.

genedan commented 4 years ago

Had a typo in commit message. Was actually close with

https://github.com/genedan/TmVal/commit/60ee779f5c6f1b0c83967dda96ba76cb557e78d9