[Skip to main content](#vessel-content)

#   Round prices during calculations not working

##

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

11 years 4 days ago [\#221896](#221896) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#221896 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")* was created by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")*

-- url of the page with the problem -- : [ www.car-and-tuning.nl](https://www.car-and-tuning.nl)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6.15
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : Round prices during calculations

Hi,

Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.

The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.

Jan

SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)

YESU-0990-SE_2719

Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500)
Subtotal € 19,45
Shipping € 4,95 (ex 21% VAT: € 4.09091)
VAT included € 4,24
TOTAL € 24,41
--

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 3 days ago [\#221921](#221921) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#221921 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Hi,

I doubt that the calculations on the taxes are off.
Please provide a screenshot of:
- the settings of that product
- the settings of the "Taxes" area of the HikaShop configuration
- the settings of your tax rule via the menu System&gt;Taxes
so that we can analyze the situation.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

11 years 3 days ago [\#222044](#222044) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#222044 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Hi Nicolas,

Attached the asked settings.

Jan

- [ ![Setting&#95;of&#95;configuration&#95;taxes.jpg](/forum/attachment/27984) ](/forum/attachment/27984 "...tion&#95;taxes.jpg") [ ](/forum/attachment/27984?download=1 "...tion&#95;taxes.jpg")
- [ ![Tax&#95;settings&#95;of&#95;the&#95;product.jpg](/forum/attachment/27985) ](/forum/attachment/27985 "...he&#95;product.jpg") [ ](/forum/attachment/27985?download=1 "...he&#95;product.jpg")
- [ ![Taxes&#95;1.jpg](/forum/attachment/27986) ](/forum/attachment/27986 "Taxes&#95;1.jpg") [ ](/forum/attachment/27986?download=1 "Taxes&#95;1.jpg")
- [ ![Taxes&#95;2.jpg](/forum/attachment/27987) ](/forum/attachment/27987 "Taxes&#95;2.jpg") [ ](/forum/attachment/27987?download=1 "Taxes&#95;2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 2 days ago [\#222117](#222117) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#222117 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Hi,

21% of 16.075 is 3.37575
16.075+3.37575=19.45075
19.45075 rounded is 19.45

21% of 4.09091 is 0.90911
4.09091+0.90911=5.00002
5.00002 rounded is 5

So I already don't arrive at the same shipping fee. Are you sure that you provided the correct numbers ?
I don't see how you can get 4.95 for your shipping with the untaxed prices you provided.

Can you provide a way to reproduce exactly that on your website ? (A test user account, a link to the product page you're using for your test)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

11 years 1 day ago [\#222290](#222290) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#222290 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Nicolas,

Order this product: [ www.car-and-tuning.nl/shop/product/995-s...revisie-sets?popup=1](https://www.car-and-tuning.nl/shop/product/995-seat-slot-revisie-sets?popup=1)

Go to the cart and you can see the problem.

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

10 years 11 months ago [\#223447](#223447) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#223447 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Nicolas,

Do you have any idea what the problem can be?

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 10 months ago [\#225509](#225509) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#225509 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Hi,

I've had a fresh look at the issue. It seems that I had made some mistake on the shipping method price calculations due to the lack of information provided about it.

I arrive to this now:
21% of 16.075 is 3.37575
16.075+3.37575=19.45075
19.45075 rounded is 19.45

21% of 4.09091 is 0.85909
4.09091+0.85909=4.9500011
4.9500011 rounded is 4.95

So I get the correct numbers.
And when I sum the taxes after rounding them, I get:
3.38+0.86 = 4.24
So the total amount of taxes seems correct in HikaShop with your example.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

10 years 10 months ago [\#225561](#225561) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#225561 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Nicolas,

You're right. But that is not the problem.

The problem is that the products-amount (€ 19,45) and the shipping amount (€ 4,95) is totalized as € 24,41 instead of € 24,40.

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 10 months ago [\#225579](#225579) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#225579 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Hi,

Well, I reach the correct total:
16.08+4.09+4.24=24.41
It's normal that it uses the rounded values for the total calculation since the "round prices during calculations" setting is turned on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

10 years 10 months ago [\#226064](#226064) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#226064 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Nicolas,

We switched the 'round prices' on again.
Attached some orders with calculation diferences.

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

10 years 7 months ago [\#235649](#235649) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#235649 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Nicolas,

Unfortunataly the situation still excist.
Will you have a look how to solve this?

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")**
- [![janvankuijk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6080-janvankuijk "View janvankuijk's Profile") Topic Author
- [ Offline](/forum/user/6080-janvankuijk)

Less More

- Posts: 235
- Thank you received: 4
-
-

10 years 5 months ago [\#244044](#244044) by [janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")  Replied by *[janvankuijk](/forum/user/6080-janvankuijk "View janvankuijk's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#244044 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Nicolas,

Will you please have a look at this issue?

Jan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 5 months ago [\#244053](#244053) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Round prices during calculations not working](/forum/27-checkout/880690-round-prices-during-calculations-not-working#244053 "-- url of the page with the problem -- :   www.car-and-tuning.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.6.15 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : Round prices during calculations  Hi,  Allthough I switched on the 'Round prices during calculations'-option and all the prixes are on 5 decimals correct, there is a difference of 1 cent in the calculation.  The problem must be somewhere in the total VAT calculation. I calculate a VAT of € 4,23. The Hikashop € 4,24.  Jan  SEAT SLOT REVISIE SETS: - IBIZA 1997 - 2001 5-delig 338Sp (stiftlengte 46mm)  YESU-0990-SE&#95;2719  Price: € 19,45 Number: 1 Total this product: € 19,45 (ex 21% VAT: € 16.07500) Subtotal € 19,45 Shipping € 4,95 (ex 21% VAT: € 4.09091) VAT included € 4,24 TOTAL € 24,41 --")*

Hi,

> Well, I reach the correct total:
> 16.08+4.09+4.24=24.41
> It's normal that it uses the rounded values for the total calculation since the "round prices during calculations" setting is turned on.

And as you can see in the screenshot, your "subtotal" is not what it should.
19.45075 rounded is 19.45 ; there is not possibility that it is rounded 19.46 unless there is something else in your website which can affect the prices.
[ pasteboard.co/1Zw4g7GF.png](http://pasteboard.co/1Zw4g7GF.png)

I recommend you to update HikaShop with the latest package and to check your plugins and view overrides.
If you want to provide details about orders ; use screenshots from the backend. Emails are unfortunately, not helpful.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MDY5MC1yb3VuZC1wcmljZXMtZHVyaW5nLWNhbGN1bGF0aW9ucy1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.084 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
