MCPcopy Create free account
hub / github.com/Confunctionist/finance / MP

Method MP

money.go:442–444  ·  view source on GitHub ↗

MP Mortgage Payment pmt = loan * r * (1 + r)^n / ((1 + r)^n - 1) loan - loan amount i - note percent interest rate (not monthly rate) n - number of periods (ex 360 for a 30 year loan) returned as Money

(r float64, n int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

SetfMethod · 0.95
GetMethod · 0.95
IFunction · 0.85

Tested by

no test coverage detected