From: Dave Thomas Date: 2002-10-29T05:04:35+09:00 Subject: Re: Fixnum assignment undefined??? Is it a bug, or blindness? Charles Hixson writes: > In the routine: > def calcRowSals(init, step) > result = Array.new(@colHeads.size - 1, 0) > val = (init * 1000).to_i > for i in 0..result.size > result[i] = (val / 10).to_f / 100. ^--- try putting a zero after the '.' Ruby's looking at this and the next line as 100.val = ... > val = (val * @step) #<<== Here is the error