Function finance_math::ci [] [src]

pub fn ci(
    rate: f64,
    num_of_compoundings: f64,
    principal: f64,
    num_of_periods: f64
) -> f64

he addition of interest to the principal sum of a loan or deposit is called compounding. Compound interest is interest on interest. It is the result of reinvesting interest, rather than paying it out, so that interest in the next period is then earned on the principal sum plus previously-accumulated interest. Compound interest is standard in finance and economics. see definition: https://en.wikipedia.org/wiki/Compound_interest