What I found so far:
I can calculate my single products correctly if I use the mentioned ` (Grave accent) sign as SeparatorThousand.
If I change the SeparatorThousand to the desired ' (Apostrophe) and then patch the function price in the function.lib.php with something like this around line 2972
[code]if ($thousand === "& # 0 3 9 ; ") $output=number_format($amount, $nbdecimal, $dec, "'");[/code]I get the numbers correctly, even in a new calculated PDF invoice.
BUT
As soon as I recalculate a single product, the calculation goes wrong...
There must be an error with this special character ' (Apostrophe, ASCII 39). The function price seems to get a html encoded entity & # 0 3 9 ; instead of the single character '
↧