From: Roger Pack Date: 2009-02-22T06:33:31+09:00 Subject: Re: floating point rounding error? > Float computer math is full of those effects - and so are the archives > of this list with articles similar to yours. I hate those subtle rounding errors. Any thoughts if I were to suggest Ruby by default use BigDecimal instead of float? i.e. 7.0 + 7.0 is parsed as two bigdecimals, and to use floats you do Float(7.0) or Float.new(7.0) ? -- Posted via http://www.ruby-forum.com/.