Loan Modification - Free Foreclosure Help - Help Stop Foreclosure » Stop Foreclosure - Promote your business - requires 30 posts in other sections in order to Post » Find a Mortgage Broker » I need help getting a VB mortgage calculator...

Short Sale    Loan Modification    Loss Mitigation Training    Short Sales Training
Reply
  #1 (permalink)  
Old 11-08-2011, 05:05 AM
Hid Hid is offline
Junior Member
 
Join Date: Nov 2011
Posts: 1
Default I need help getting a VB mortgage calculator...

...code right.? Here is what I have so far.Dim decAmount As Decimal Dim dblInterest As Double Dim decInterest As Decimal Dim decYears As Decimal Dim decPayment As Decimal decAmount = Convert.ToDecimal(txtAmount.Text) 'convert to decimal decInterest = Convert.ToDecimal(txtInterest.Text) / (100 * 12) decYears = Convert.ToDecimal(txtYears.Text) * 12 decPayment = Convert.ToDecimal(txtPayment.Text) decPayment = decAmount* decInterest(1 + decInterest) ^ 12 * decInterest / ((1 + decInterest) - 1)) txtPayment.Text = FormatCurrency(decPayment) txtPayment.Text = Convert.ToString(decPayment) Please help what am I doing wrong?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old 11-08-2011, 06:15 AM
Junior Member
 
Join Date: Nov 2011
Posts: 1
Default

Get a code snippet for what you are doing or trying to do by google
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 11-08-2011, 12:45 PM
Junior Member
 
Join Date: Nov 2011
Posts: 1
Default

You failed to factor the years into the decpayment equation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:08 PM.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd. Free Foreclosure Help