Jump to content

Prestashop Tax Rounding in the Opposite Direction (USA/WI)?


Recommended Posts

An invoice totals: $194.25

Tax based on customer zipcode = 5.5% (WI State @ 5.0% combined with WI Dane County @ 0.5%) Correct

Actual Math = 194.25 * 0.055 = 10.68375

Prestashop Tax = $10.69 (rounded up?) INCORRECT

Our company's POS System calculation = $10.68 (rounded down) Correct


Then also, a second example:


An invoice with total: $257.25

Tax based on customer zipcode = 5.6% (WI State = 5.0%, Milwaukee County = 0.6%) Correct

Actual Math = 257.25 * 0.056 = 14.406

Prestashop tax = $14.40 (this time it rounded down???) INCORRECT

Our company's POS system calculation = $14.41 Correct


Prestashop Version

We're using the "recommended" rounding to round up when half way.

Tax rules are set to combine.

A 25% off voucher has been applied to these invoices.

Removing the voucher has no effect. The tax is still incorrectly rounded.

Invoices that come out to 2 decimal places or less in tax amount work correctly (no rounding involved).

I've also checked for PHP updates and updated to the latest PHP 5.6 on the server today.

Upgraded to Prestashop - problem persists.

Edited by bitwiz (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...