mysql - Entering A price -


What would be the best way to set up my SQL field for values ​​such as $ 34,000 / P>

My SQL is: PRICE DECIMAL (4,2) and it seems that I can only produce 34.00. How can I show it, not one (maybe my CMS may be due to stripping data)

And think if you really want to be so restrictive. After two decades of the point it makes sense, but you want to make a mistake on the safe side with the total number, otherwise you can say $ 1,000,000 in your database.

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

Mysql Local server hardware -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -