Robert Najlis <rnajlis / cs.indiana.edu> wrote in <3ADE83C2.B2214804 / cs.indiana.edu>: >Am I doing something wrong (maybe - I am pretty new to Ruby)? it seems >that many time when I want to geet a numerical value out of a variable, >I need to make it a String first, and then use the .to_i function -> >"#{count}".to_i > Are you sure "count" is a Number? I would claim it is (many times) a String. If it was always a String you could do: "count.to_i" Clemens