I’m trying to handle money within an online store I’m building and I’m
very stuck. I understand that using a float in the db is bad because
of “rounding errors”, and that storing the price as an integer is the
best way forward. I know this has been brought up before on the list
and I have search the archives but can’t find a good way forward.
What’s the simplest way of handling this situation? From what I’ve
read on various blogs, there doesn’t seem to be a definitive way of
dealing with money. I’ve seen and tried to use the Money library, but
I’ve not had much luck with it.
Thanks for any help,