I already managed to round my cart total to CHF 0.05 like this:
add_filter( \'woocommerce_calculated_total\', \'round_price_product\', 10, 1); function round_