Calculating Interest without using any double values

Just how would I go about calculating compounded interest with using
a double variable. How do I get the exponential value needed? I am horrible at math - under normal circumstances. Can anyone help?

Shirl

Comments

  • : Just how would I go about calculating compounded interest with using
    : a double variable.

    If i understand you correctly it would be:
    [code]
    double loan = 1000;
    double interest = 1.13;
    double toPay = loan * interest;
    [/code]

    : How do I get the exponential value needed?
    If i understand you correctly it would be:
    [code]
    double before = 1500;
    double after = 1.600;
    double interest = after / before;
    [/code]

    Was it what you ment?



    Kind Regards
    Konrad
    ----------------------------
    (+46/0) 708-70 73 92
    [email protected]
    http://konrads.webbsida.com

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion