From: Brian Candler Date: 2010-10-07T03:28:00+09:00 Subject: Re: interesting irb experiment DaShiell, Jude T. CIV NAVAIR 1490, 1, 26 wrote: > J=126*rand+33.round > K=j.chr > Works as far as it goes, however > J=126*rand+33.round.chr > Throws an error. The actual error message seems strange after .round > did its work. You're not showing actual copy-pasted code nor error message, but at a guess I'd say you need something like j=((126*rand+33).round.chr Using rand(126) would avoid the need for round -- Posted via http://www.ruby-forum.com/.