From: Steve Klabnik Date: 2012-01-24T03:14:27+09:00 Subject: Re: Microrant on Ruy's Math Skills > Even that and the '1.1'.to_dec option mentioned elsewhere seem pretty > cumbersome when working with a lot of numbers.  How difficult would it be > to change the way Ruby parses 1.1 within a given program so it just > automatically uses BigDecimal rather than Float?  That way, one could > just tell Ruby to use BigDecimal instead of Float by default at the top > of the program file and go forward confident that Float errors will not > creep into the program (unless using a library that explicitly uses > floating point numbers within itself). Parse time is different than execution time.