I am new here and first of all: nice to be a member, seems to be helpful and active forum.
So, I am slightly advanced php user, by no means very good
I am just working on an online shop, database driven of course. The prices of the products are storted in a mysql-database with data type decimal. Everything runs fine, except if a product price like 50.00 is stored in the database, and I extract it in the script using php, php cuts of the trailing zeros and the comma (or point). It show as "50" instead of "50.00".
How can make php displaying it as 50.00 ? Or do I need to change something in the database ? maybe a different datatype ?
Thanks for any help,
pHp_RoOk(y)