Hi! Some time ago, I opened the issue 27645 <https://github.com/rails/rails/issues/27645> where I suggested we improve the code and docs regards representing money. Currently, it seems that floats are encouraged (see the examples in the docs <http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#method-i-number_to_currency>) which is a bad practice. Please see my comment on the issue <https://github.com/rails/rails/issues/27645#issuecomment-303894475> to understand why it leads to problems.
Someone experienced in working with financial systems knows to avoid this pitfall but newcomers are likely to build a buggy system. I'm happy to contribute patches to both the code and docs but first I wanted to ask: How do we want Rails to handle this? Best regards Greg Navis -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.