4 ms·
$5.69 means that they have increased the price by $0.001 5690 times. prices = (1..5690).collect { |member| member * 0.001 } prices.inject(0) { |price,
by anotherjesse 17y ago
$5.69 means that they have increased the price by $0.001 5690 times.
prices = (1..5690).collect { |member| member * 0.001 }
prices.inject(0) { |price, sum| price + sum }