From: Greg Hauptmann Date: 2008-11-08T15:26:24+09:00 Subject: what's easiest way to compare a Float & BigDecimal (i.e. like a equals mechanism) Hi, what's easiest way to compare a Float & BigDecimal (i.e. like a equals mechanism)? It seems that "==" does NOT work as they are different types. Is there a way to do a comparison without having to convert types? ?> a => # >> x => 6.5 >> a == x => false #<<== DIDN'T WORK >> tks