A friend of mine said that they were experiencing oddities using a column decimalto store monetary formats, such as saving 1000.00, which would lead to saving it as 999.99.
However, I just tested and 1000.00stored both 1000.0000on decimal(19,4) / MySQL 5. Can someone make it clear why they might have problems? Perhaps this was an old MySQL error, an incorrect calculation on the application side, before storing it in the database?
This is for the field ROI, and I store monetary values, which can be in thousands, FYI.
source
share