VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



calculate the amount of money you borrow from a bank

by Julian Tanushi (1 Submission)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 2nd December 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

calculate the amount of money you borrow from a bank

Rate calculate the amount of money you borrow from a bank




End Sub

Private Sub Label1_Click()

End Sub

Private Sub Command1_Click()

End Sub

Private Sub cmdCalculate_Click()
Dim cPrincipal As Currency
Dim fIntRate As Single
Dim nTerm As Integer, cPayment As Currency

cPrincipal = Val(txtPrincipal.Text)

fIntRate = Val(txtIntRate.Text) / 100

fIntRate = fIntRate / 12

nTerm = Val(txtTerm.Text) * 12

cPayment = cPrincipal * (fIntRate / (1 - (1 + fIntRate) ^ -nTerm))

txtPayment.Text = Format(cPayment, "Fixed")

End Sub

Private Sub cmdExit_Click()
Dim sMsg As String
sMsg = "Jeni i sigurte qe doni te dilni?"
If MsgBox(sMsg, vbYesNo) = vbYes Then
End
End If
End Sub



Download this snippet    Add to My Saved Code

calculate the amount of money you borrow from a bank Comments

No comments have been posted about calculate the amount of money you borrow from a bank. Why not be the first to post a comment about calculate the amount of money you borrow from a bank.

Post your comment

Subject:
Message:
0/1000 characters