From: Shandy Nantz Date: 2008-02-29T00:42:58+09:00 Subject: to long I am trying to convert some vb script code to its Ruby counterpart and there is a function in the script which converts an expression to a long data type and my question is, is there a way to do the same thing in Ruby. I had been using to_i but I'm not sure if that is correct. Thanks, -S -- Posted via http://www.ruby-forum.com/.