0.3.1 • Published 8 years ago

compound-interest v0.3.1

Weekly downloads
185
License
MIT
Repository
-
Last release
8 years ago

compound-interest Build Status JavaScript Style Guide

compound interest of initial + series

installation

$ yarn add compound-interest

usage

const compound = require('compound-interest');

const opts = {
  initial: 1000,  // initial balance
  monthly: 100,   // monthly addition
  interest: 5,    // +% interest
  compound: 12,   // compounding factor (1, 12, 365...)
  years: 5       // years
};

compound(opts); // 8083
compound.verbose(opts); // [1000, 2279, 3623, 5036, 6522, 8083]

license

mit

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago