I need to set variables as decimal number... for example, 1234.56. I'm using phpMyAdmin in WAMP to create the table and variables. I declared variables as decimal(6,2) then saved. The table then shows the variables as decimal(6,0). I don't understand why the "2" for # of decimal places is lost.
I created the same table using my webhost's phpMyAdmin and it worked as I expected, decimal(6,2).
Anyone have any ideas why this isn't working in WAMP? Am I doing something wrong?
I created the same table using my webhost's phpMyAdmin and it worked as I expected, decimal(6,2).
Anyone have any ideas why this isn't working in WAMP? Am I doing something wrong?