From: Wayne Brisette Date: 2013-02-12T00:57:59+09:00 Subject: Re: Issue with Excel column values read. If you're using the spreadsheet gem (which I am for one script), then you'll have to use .to_i since values are always brought in as real numbers. If the issue is that you may have a nil value, just do this: excel_value.to_i if excel_value.!nil? Wayne - Joel Pearson wrote in post #1096311: > If you already know it has to be an integer, use ".to_i", or "Integer()" > in the appropriate places. No! @Joel - there can be anything - that's the problem. So I am looking for a way to fetch the value from the Excel cells as it is,no conversion during fetching. -- Posted via http://www.ruby-forum.com/.