Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

decimal placement


tec

Recommended Posts

hi there, ok, have a question, anybody know how you might go about having osc set up so it calculates at a 4 decimal point in the back end, but displays a 2 decimal place in the front end?

 

So the price to calculates at 4 decimal points which is implemented, but make it only show two decimal points on the front end. So the price would show as $23.96, but would be calculated as $23.9631 in the background.

 

:blink:

Link to comment
Share on other sites

I believe that is how OSC works as default... i may be wrong tho.

 

hmm, thanks for telling me, i did not know that :)

 

my problem is though, is that it is showing as 4 decimal points in the front end

 

 

 

decimal problem

 

I am not sure how to do it so its set to calculate in one form, but then display in another

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...