Link to home
Start Free TrialLog in
Avatar of Ed
EdFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Compount Interest VB.Net

Hi

I recently had help with some vb in working out APR. The code is correct however I've just realised that it is slightly inaccurate as it needs to consider ' Compound Interest'


I was working out APR with this


 
       Dim LoanPmt As Double = Math.Round(Pmt(0.119 / 12, 300, -17044), 2)
        Dim APR As Double = Rate(300, -LoanPmt, 15000)

        Label1.Text = ((APR * 12) * 100)

Open in new window



What I've been told by the lender is that I now need to consider compound interest.

To do this I need to include this(below) into my formula. Can someone help me do this.  Thanks

= (1+Rate) ^12-1 

Open in new window

Avatar of Ed
Ed
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Apparently I'm not considering the compound interest. What I'm doing wrong is multiplying the rate by 12.. I need  to change the formula to: = (1+Rate) ^12-1
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ed

ASKER

Answered my question, thanks