devxlogo

Computing Future Value

Computing Future Value

Question:
I am trying to make a financial calculator that will compute Future Value,but I don’t know how to write code for compounded interest.

Answer:
I believe you want to use the PV function, which is documented in the Help File. I’ve included it here also.

PV FunctionReturns the present value of an annuity based on periodic, constant payments to be paid in the future and a constant interest rate.SyntaxPV(rate, nper, pmt[, fv[, type]])
The PV Function is also available in VB4.0. There is a good example code snippet in the help file entry on the subject. Simply search the helpfile for “PV”.

devx-admin

Share the Post: