Displaying 1 result from an estimated 1 matches for "mindprod".
Did you mean:
in_prod
2006 Feb 15
2
Financial app - decimal to float conversion problem
I''m having problems with using Rails for a financial application: the
database stores financial fields as decimal, but ActiveRecord converts
these to float - so I get the rounding errors you''d expect
(http://www.mindprod.com/jgloss/floatingpoint.html).
This has come up recently, and the recommended fix seems to be to be
Tobi Luetke''s ''money'' gem
(http://article.gmane.org/gmane.comp.lang.ruby.rails/46632/match=money+bigdecimal)
but this won''t work for me: I''ve inherit...