Displaying 1 result from an estimated 1 matches for "ref_c_float".
2006 Jun 25
2
Working out sales tax...
Hi,
Having googled extensively about storing money in Rails, it seems to be 
accepted that the best way is to store the prices etc in the smallest 
part of the currency so that you can use an integer i.e ?20  would be 
stored as 2000 pence.
This is fine and I''ve made a nice pretty wrapper that outputs the price 
in the standard form for invoicing and what not - but here I''ve