a = (0..8).inject([]) {|a, i| a << (v += (v/100) * cap_growth)}
Ruby On compound interest
by bauser,
September 30, 2007 16:29
a = (0..8).inject([]) {|a, i| a << (v += (v/100) * cap_growth)}
I'm not sure what you are t...