Is it correct procedure to store currency values in databases as cents (or other smallest denomination)?
February 9, 2005 8:39 AM
Subscribe
A long time ago, I was taught to store to currency values in databases as cents (or the local equivalent) to avoid rounding problems with floating point column types. Is this a sound practice, or a bunch of hogwash?
posted by alan to computers & internet (10 comments total)
posted by mendel at 8:47 AM on February 9, 2005