Your dynamic discounts function is great, but is rounding prices if I set decimals to 2.
If I set to 3 (wich I don’t want), it works fine. Is there a way to fix it?
Actually, it is how the WooCommerce works by default and it is not caused by the theme. You can test it by disabling our dynamic discounts, creating a product with a price of 1,125 and switching from 3 to 2 decimals. You will see that WooCommerce rounds the price according to math rules.