------ art_2336_12805134.1208410475401 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline sorry bout that. Its late and I'm tired (3 + rand(6-3)) / 100.to_f On Thu, Apr 17, 2008 at 1:24 AM, Zoe Phoenix <dark_sgtphoenix / hotmail.com> wrote: > The code is functional, but it's giving me a much higher number than > what I had in mind. > > 3% of 100 is 3 and 5% of 100 is 5, so it should be returning me a value > of 3, 4, or 5 if the number I'm using is 100. > -- > Posted via http://www.ruby-forum.com/. > > ------ art_2336_12805134.1208410475401--