Permutation prices are given excluding tax, ok? But I want them with tax included.
I've modified the permutation price sublayout to pass the rounded price multiplied by the vat (19.6% = 1.196) to the formattedcurrency routine but the figures I get back are not always accurate, showing discrepancies in the first or second decimal places. I've replaced the round function by a custom function which allows rounding at different decimal places. Most results I get are now accurate, but some figures still show some discrepancy.
In fact, I'd like to have the exact same formula actinic uses to compute taxes.
Any pointers?
Lazyeye
I've modified the permutation price sublayout to pass the rounded price multiplied by the vat (19.6% = 1.196) to the formattedcurrency routine but the figures I get back are not always accurate, showing discrepancies in the first or second decimal places. I've replaced the round function by a custom function which allows rounding at different decimal places. Most results I get are now accurate, but some figures still show some discrepancy.
In fact, I'd like to have the exact same formula actinic uses to compute taxes.
Any pointers?
Lazyeye
Comment