Pe?a wrote:
> From: Michael Ulm [mailto:michael.ulm / isis-papyrus.com] 
> # > x = 1.0.to_dec / 3.0.to_dec
> # > y = x + x + x
> # > y == 1.0.to_dec # => false
> 
> hmm, i thought this was already answered by others.. gotta check..
> 
> irb(main):023:0* x=1.0.to_dec/3.0.to_dec
> => #<BigDecimal:b7e45e14,'0.3333333333 333333E0',16(24)>
> irb(main):024:0> x+x+x == 1.0.to_dec
> => true

Strange, I tested this on two different machines and both gave false
to your last expression. Did you modify BigDecimal#== ?

Regards,

Michael