Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

A decimal issue ..


Recommended Posts

Hi ! can you help with the followin.. can`t figure it out.. I`ve made the following code for a very simple pricelist:


echo $row["products_name"]. "\t". $row["products_price"]*1.19 . "\n";


And it worked.. ( :) ) .. Now I wundered how to bring the results back from 6 to 2 decimals.. Is there an easy way?


You can see I`m not to good at this.. thx in adv



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...