Visual Basic: Calculate Forms

Discussion in 'JavaScript' started by d0cpaul, Mar 23, 2010.

  1. #1
    I am creating an application with Visual Basic and I was wondering if anyone had some code that would allow the application to mathmatically calculate two values. I am making a mortgage calculator if you are wondering.

    It will be composed of several user entered forms:

    Loan Amount $:
    Interest Rate %:
    Length of Loan (Term):

    The result will be:
    Monthly Payment =
    Monthly Rate =

    here is the math:
    Monthly Payment: ( interest rate / ( 1 - ( 1 + interest rate) ^ Loan Length or Term)) Principal
    Monthly Rate: (1+ Interest Rate)^(1/12)-1

    I need the user entered forms to do this math. Does anyone know of a code or tutorial that will help?
     
    d0cpaul, Mar 23, 2010 IP