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

Method PV

money.go:482–488  ·  view source on GitHub ↗

Present Value of a Series of cash flows (using non integer time periods) general case pv = SIGMA (n, t=0) [fv-sub(t) / ((1 + i) ^ n-sub(t))] pv = present value of Money SIGMA (n, t=0) Sum of n's beginning at time t = 0 fv = future value in the array slice element of fvs fv-sub(t) Future Value at tim

(fvs []Money, i []float64, ns []float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

SetMethod · 0.95
AddMethod · 0.95
PVfMethod · 0.80

Tested by

no test coverage detected