[LRUG] Prices and Precision
dan at danwebb.net
Sun Nov 18 05:44:49 PST 2007
Ive been working on and off on a money plugin for Rails that's pretty
well developed now. It's got currency conversion, reliable maths and
support for active record money fields. Its not really public but if
you want to have a look then:
I use it in nearly all of my projects.
On 11/18/07, Ed Davey <ed at veryreal.co.uk> wrote:
> > What's the best way to store prices in a Ruby (Rails) app? What's the
> > best SQL type for mySQL?
> I've been storing prices in pence as integers and using Brad Folkens
> Model Formatter:
> to display and enter prices in £2.99 format.
> This is working well for me so far...
> Chat mailing list
> Chat at lists.lrug.org
More information about the Chat