Jump to content

Why _PS_PRICE_COMPUTE_PRECISION_ is set as _PS_PRICE_DISPLAY_PRECISION_ ?


hakeryk2

Recommended Posts

Hello,

Recently I found out that _PS_PRICE_COMPUTE_PRECISION_ which is used a lot in roundings is the same as _PS_PRICE_DISPLAY_PRECISION_ because it is set in config\config.inc.php.
It is kinda weird because _PS_PRICE_DISPLAY_PRECISION_ is set basicaly to 2 but if we will use 2 in _PS_PRICE_COMPUTE_PRECISION_  then a lot of tax exclude values won't be correct.

Is it a bug?
----------------------

EDIT: Yes, it is a bug and here You will know why 

 

Edited by hakeryk2
Solution found (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...