From: Hassan Schroeder Date: 2011-11-08T13:15:37+09:00 Subject: Re: Why does not this work? On Mon, Nov 7, 2011 at 8:01 PM, Erbay Yigit wrote: > I am trying to learn Ruby. I know some Perl. I cannot make following > script work. Could you please help me understand why "c" value in the > code does not print. It prints "0" for me. Thank you for help. >> 5/9 => 0 >> 5.0/9.0 => 0.555555555555556 >> -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan