From: MaggotChild Date: 2009-12-01T17:45:14+09:00 Subject: Float Arithmetic: Return A Fixnum When Float == Fixnum >> j = 5/2.0 => 2.5 I'm fine with this >> j = 4/2.0 => 2.0 Useless precision -for me. I want 2! >> j == j.to_i ? j.to_i : j => 2 Is there a "better" way?