Not to disparage Daniel's fine tutorial in any way, but I also have a
tutorial you might find useful:

http://hellotree.gotdns.com/LearnToProgram/

Best of luck,

Chris


----- Original Message -----
From: "Daniel Carrera" <dcarrera / math.umd.edu>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Thursday, March 20, 2003 10:22 AM
Subject: Re: Newbie question: 9/5=1 ?


On Fri, Mar 21, 2003 at 03:18:59AM +0900, Thomas Jollans wrote:
> while learning ruby i wanted to program a simple fahrenheit to celsius
> converter. for that i need 9/5 to be 1,8 (and not 1). how do i do that
> in ruby?

You might be interested in this tutorial:
http://www.math.umd.edu/~dcarrera/ruby/0.3/

It's a work in progress, but it's quite useful already.

In particular, it covers problems such as the one you just described.

--
Daniel Carrera
Graduate Teaching Assistant.  Math Dept.
University of Maryland.  (301) 405-5137