What is the best way to store a money value in the database?

ntombela picture ntombela · Mar 6, 2009 · Viewed 22.8k times · Source

I need to store a couple of money related fields in the database but I'm not sure which data type to use between money and decimal.

Answer

Rad picture Rad · Mar 6, 2009

Decimal and money ought to be pretty reliable. What i can assure you (from painful personal experience from inherited applications) is DO NOT use float!