MySql decimal type display problem

dzK-Ex P

New Member
I store money values in my db table. E.g. I have \[code\]2.50\[/code\]. But when I print that value the 0 is always missing so I get \[code\]2.5\[/code\]. The db table money field has the following type: \[code\]decimal(6,2)\[/code\]any idea how to fix that?
 
Back
Top