On Thu, Dec 25, 2008 at 9:21 AM, Matt Harrison <[email protected]> wrote: > > I've got an application that is supposed to track takings of events for > a charity I work with. > > I totally overlooked the fact that the takings would be floats not > integers and I'm now fixing that.
What are "takings"?? If you're referring to money, you shouldn't be using floats either -- see the doc for BigDecimal. You might also be interested in the "money" gem. FWIW, -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

