From: Gavin Sinclair Date: 2009-11-19T18:20:17+09:00 Subject: Re: Exact (LISP-ish) calculations in Ruby? On Nov 19, 1:08 pm, Ken Bloom wrote: > > Umm, there's a standard library for wiring in Rational: > > require 'mathn' You've gotta love this... $ irb >> require 'mathn' => true >> 3/4 => 34 (It's just a printing "error".) >> _.to_f => 0.75 That's Ruby 1.8.7. -- Gavin Sinclair