Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

no decimal prices


Tbs2TBS

Recommended Posts

I found the file but cant find where exactly to put "2"...

 

This is lines 20-30, is it in here?

 

        $currency_id = tep_db_prepare_input($HTTP_GET_VARS['cID']);

       $title = tep_db_prepare_input($HTTP_POST_VARS['title']);

       $code = tep_db_prepare_input($HTTP_POST_VARS['code']);

       $symbol_left = tep_db_prepare_input($HTTP_POST_VARS['symbol_left']);

       $symbol_right = tep_db_prepare_input($HTTP_POST_VARS['symbol_right']);

       $decimal_point = tep_db_prepare_input($HTTP_POST_VARS['decimal_point']);

       $thousands_point = tep_db_prepare_input($HTTP_POST_VARS['thousands_point']);

       $decimal_places = tep_db_prepare_input($HTTP_POST_VARS['decimal_places']);

       $value = tep_db_prepare_input($HTTP_POST_VARS['value']);

Link to comment
Share on other sites

an english expression, it means "i understand now"...

 

Is it working for you? it is for me but in a bad way.

 

I have had to change it to 4 decimal places other wise my prices will just get rounded off. now the totals are being displayed as Total: ?5.8867 inmstead of ?5.88...

Any ideas anyone?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...