I'm creating a website in which I work a lot with prices and percentages.
I'm storing all prices on mySQL as Decimal(10,2).
The thing is if I enter 1000,25 it stores 1000... What am I doing wrong? Maybe I didn't understand correctly how decimal(10,2) works... Thanks on beforehand guys!