Related to #2125611: VAT rounding flawed in some countries, rounding should round up instead of down.

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new485 bytes

This was written by ndeet.

jsacksick’s picture

StatusFileSize
new2.22 KB

I actually think commerce_vat_rate_round_amount() should call commerce_currency_round() which passes the right precision to round() according to the currency and also take into account the rounding step.

dwkitchen’s picture

Status: Needs review » Fixed

  • dwkitchen committed 9b2d4d5 on 7.x-1.x authored by jsacksick
    Issue #3058151 by DamienMcKenna, jsacksick: Make rounding round up...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

anybody’s picture

Sadly this introduced a regression, see follow-up: #3265944: Order total and vat total different by one cent