From: Thomas Chust Date: 2009-08-08T02:30:23+09:00 Subject: Re: How do I add ? 2009/8/7 chutsu : > I've got a file that is in two columns, how do I add the second column > up as I read through the file? > [...] Hello, you read strings from the file, but you want to add numbers. Therefore you need to convert the strings into numbers first. Take a look at the documentation of String#to_i or String#to_f, for example. cu, Thomas -- When C++ is your hammer, every problem looks like your thumb.