Hi, I've been working on a simple product database query engine for the past few hours, and I noticed that, using a float data-type for the prices of products causes them to leave the 0's off the end of prices that end with a decimal with a 0 ending (ex. 12.50 turns to 12.5). This isn't a severe problem, but it would be more pleasing to see them displayed in a monetary way. I tried several other data types, incuding 'money' which gave an error saying that I was inserting a float8 value instead of a money value. I have heard that the data-type money was outdated, and was wondering which would be the best datatype to use for displaying the two decimal points.
Thanks in advance,
Charles Ellis