Martin larsson wrote:

> Hi

Moin!

> i = 0
> 100.times {
>    p i += 0.6
> } 

Try this:

100.times { |i| p (i + 1) * 0.6 }

Regards,
Florian Gross