Hello, I reopen this thread because the solution that they proposed to me is only aesthetic, that is to say, 3 decimals are effectively shown if I configure it that way. But for example, if I keep a product with price 1,575, it is rounded to 2 decimal places 1.58, because it shows 1,580 instead of 1,575.
I tried setting the bcmath.scale = 3 parameter in the php.ini but still rounding the prices to 2 decimals.
Maybe you can look for two other possible sources of the problem:
database settings on that field
the moment when the field is saved into the database, maybe it’s rounded at that point. Ideally you would walk through the code with a debugger to find out
I have already discovered the error, it is because the fields relating to the amounts, costs, etc., in database are defined with only 2 decimals, I guess the solution will then increase this number of decimals …