In Rails, you can store prices as a decimal with precision 8 and scale 2. This gem ensures that your templates print them like prices.
Paul Campbell
January 18, 2011 2:32pm
aucune