On Thu, Dec 25, 2008 at 12:36 PM, Matt Harrison
<[email protected]> wrote:

> I am just unsure about using BigDecimal. I can see it is better to use
> than a float, but how would that work with the database? I can create
> float columns but not BigDecimal i believe. Would I need to store the
> values as floats in MySQL but then convert to BigDecimal later?

Nope, MySQL has a decimal data type.

> Thanks, I have hacked around in the helper and have got it to convert
> the values after they are processed.

Yeah, I was looking at that, but got distracted by present unwrapping. :-)
Glad you found a fix/workaround.

Happy holidays!
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to