Possible Duplicate:
Best Data Type for Currency
I have a table inside my database where I store product prices; the column type is set to DECIMAL(12, 2)
. However, whenever I add the following price: 1,199.00
and save it, for some reason it converts into 1.00.
Or, if I add a price like 12,000.00
, it converts it to 12. Should I use using some other type of field or add other values to DECIMAL
?