"Greg Hauptmann" <greg.hauptmann.ruby at gmail.com> writes:
Do you mean BigDecimal? Anyway, you should probably be using == instead
of eql.
>> 5.5 == BigDecimal.new('5.5')
=> true
>> 5.5.eql? BigDecimal.new('5.5')
=> false
eql? is object identity and is generally not what you're after.
Pat