The loan payment formula, explained (and implemented in 15 lines of JavaScript)
Every mortgage, car loan and personal-loan calculator runs on the same one-line formula. It looks intimidating, but it falls out of a simple idea. Once you understand it, you can build a full amortiza