Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Dim futureVal As Single
  2. Dim presentVal As Single
  3. Dim interest As Single
  4. Dim perid As Integer
  5.  
  6. presentVal = TextBox1.Text
  7. interest = TextBox2.Text
  8. perid = TextBox3.Text
  9.  
  10. futureVal = presentVal * (1 + interest / 100) ^ perid
  11. Label5.Text = Format(futureVal, "$#,##0.00")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement