3/4 #=> 0    Integer Math as it should be
Rational(3,4)  #=> (3/4)
require "mathn" #=> true
3/4 #=> (3/4)

-- 
Posted via http://www.ruby-forum.com/.