~rickylinden/scripts

7091cbedb44fdc93418476440d506131cc6875b1 — rickylinden 14 days ago e2701a5
Cleaned up compoundcalculator.py
1 files changed, 1 insertions(+), 1 deletions(-)

M compoundcalculator.py
M compoundcalculator.py => compoundcalculator.py +1 -1
@@ 11,7 11,7 @@ def regularCompound(pmt, r, t):
	n = 12 # n is compounds per year
	return pmt * (((1 + r / n) ** (n * t) - 1) / (r / n))

# interest per month at t
# interest alone per month
def interestMonthly(value, r):
	return (value * r) / 12