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”.

See also  Is Machine Learning Automating Creativity in Graphic Design?
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist