From: Shuaib Zahda Date: 2007-11-01T10:26:39+09:00 Subject: Re: Can we define data types explicitly? Thanks guys for the replies. I believe Integer and Float way will work better than to_i or to_f. Because Integer and Float will check the parameter before conversion. Regards -- Posted via http://www.ruby-forum.com/.