Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

rounding numbers in inserting an order to DB


Recommended Posts

Hello all,


I have a really BIG problem. I would be happy if someone would help me...

This is that problem:

If customer make an order, prices is shown correctly, but values in the database is rounded or sub-stringed.

In order details is some mistakes - the prices of products is rounded too, but sub total and total is displayed correctly.


there is any problem with inserting data to database.... i.e.: product price is €49,75 but in DB is only 49.0000

and this is also with all other values in order (subtotal, ot_total.....)


my osCommerce e-shop is www.fitpro.sk and if anyone could help me, I will be very happy.



Thanks a million!

Link to comment
Share on other sites


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

  • Create New...