Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A decimal issue ..


Guest

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

 

Meano

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...