I've been struggling with a rounding issue lately. We have a product at 40.65. With a tax of 23% it gets up to 49.99 and rounding that up it goes to 50.
Now i want to apply some price rules. A rule of 10% discount here.
Problem is how magento applies the discounts.
Instead of rounding up the price to 50 and then do the discount ( 50 - 50*10% = 45 ) what it does from what i understood is it applies the discount to the non rounded price.
To the 49.99 and it calculates the discount as 4.99. After that it applies that discount to the product getting it to 45.01 instead of 45.
I want to know if there is any way to access the part where those price rules are applied and round up the price before any catalog price rules is applied to it.