[LRUG] Prices and Precision
Thomas R. Koll
tomk32 at gmx.de
Sun Nov 18 03:48:44 PST 2007
Am 18.11.2007 um 12:32 schrieb Marcus Roberts:
...
> What's the best way to store prices in a Ruby (Rails) app? What's the
> best SQL type for mySQL?
either decimal or if you don't belief in 0.5p then integer is fine
enough for you.
ciao, tom
--
Thomas R. "TomK32" Koll <> http://tomk32.de <> http://ananasblau.de
just a geek trying to change the world
http://workingwithrails.com/person/9367-thomas-r-koll
Skype: TomK32
More information about the Chat
mailing list