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

#   Multiple decimals for Euro, necessary to show them in backend?

##

- **[joris85](/forum/user/28344-joris85 "View joris85's Profile")**
- [![joris85's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28344.jpg)](/forum/user/28344-joris85 "View joris85's Profile") Topic Author
- [ Offline](/forum/user/28344-joris85)

Less More

- Posts: 190
- Thank you received: 9
-
-

5 years 4 months ago [\#334196](#334196) by [joris85](/forum/user/28344-joris85 "View joris85's Profile")  *[Multiple decimals for Euro, necessary to show them in backend?](/forum/40-taxes/902915-multiple-decimals-for-euro-necessary-to-show-them-in-backend#334196 "I understand for some currencies you need more than 2 decimals. But in Euro's i have never seen this in any tool before in an other tool then Hikashop (and i Maintain 100 site's). My client notes that there was 1 cent difference in the total price. So i was checkingout and get quite frustrated with the pricing and decimals.  So i want 27,95 inclusive tax   www.dropbox.com/s/6ogubg96dvacj6q/Scherm...%2011.38.24.png?dl=0  It calculates:   www.dropbox.com/s/omxkeg7gjxv3ilg/Scherm...%2011.38.36.png?dl=0  The result is:   www.dropbox.com/s/5ab6hm6dtgo72ak/Scherm...%2011.38.45.png?dl=0  In the euro settings i have set 2 decimals. And yes i see 2 but even as frontend webdeveloper I am quite frustrated that it is difficult to always have the price i want. Because sometimes it is 27.9500004 or 27.949998 Why is this and is this possible to just remove the extra decimals?  Thanks for your support!")* was created by *[joris85](/forum/user/28344-joris85 "View joris85's Profile")*

I understand for some currencies you need more than 2 decimals.
But in Euro's i have never seen this in any tool before in an other tool then Hikashop (and i Maintain 100 site's).
My client notes that there was 1 cent difference in the total price.
So i was checkingout and get quite frustrated with the pricing and decimals.

So i want 27,95 inclusive tax
[ www.dropbox.com/s/6ogubg96dvacj6q/Scherm...%2011.38.24.png?dl=0](https://www.dropbox.com/s/6ogubg96dvacj6q/Schermafbeelding%202021-07-06%20om%2011.38.24.png?dl=0)

It calculates:
[ www.dropbox.com/s/omxkeg7gjxv3ilg/Scherm...%2011.38.36.png?dl=0](https://www.dropbox.com/s/omxkeg7gjxv3ilg/Schermafbeelding%202021-07-06%20om%2011.38.36.png?dl=0)

The result is:
[ www.dropbox.com/s/5ab6hm6dtgo72ak/Scherm...%2011.38.45.png?dl=0](https://www.dropbox.com/s/5ab6hm6dtgo72ak/Schermafbeelding%202021-07-06%20om%2011.38.45.png?dl=0)

In the euro settings i have set 2 decimals.
And yes i see 2 but even as frontend webdeveloper I am quite frustrated that it is difficult to always have the price i want.
Because sometimes it is 27.9500004 or 27.949998
Why is this and is this possible to just remove the extra decimals?

Thanks for your support!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzkwMjkxNS1tdWx0aXBsZS1kZWNpbWFscy1mb3ItZXVyby1uZWNlc3NhcnktdG8tc2hvdy10aGVtLWluLWJhY2tlbmQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

5 years 4 months ago [\#334206](#334206) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Multiple decimals for Euro, necessary to show them in backend?](/forum/40-taxes/902915-multiple-decimals-for-euro-necessary-to-show-them-in-backend#334206 "I understand for some currencies you need more than 2 decimals. But in Euro's i have never seen this in any tool before in an other tool then Hikashop (and i Maintain 100 site's). My client notes that there was 1 cent difference in the total price. So i was checkingout and get quite frustrated with the pricing and decimals.  So i want 27,95 inclusive tax   www.dropbox.com/s/6ogubg96dvacj6q/Scherm...%2011.38.24.png?dl=0  It calculates:   www.dropbox.com/s/omxkeg7gjxv3ilg/Scherm...%2011.38.36.png?dl=0  The result is:   www.dropbox.com/s/5ab6hm6dtgo72ak/Scherm...%2011.38.45.png?dl=0  In the euro settings i have set 2 decimals. And yes i see 2 but even as frontend webdeveloper I am quite frustrated that it is difficult to always have the price i want. Because sometimes it is 27.9500004 or 27.949998 Why is this and is this possible to just remove the extra decimals?  Thanks for your support!")*

Hi,

The extra decimals are necessary in the backend because sometimes you need more than two decimals to configure the price in the backend to get the exact result you want in the frontend when taxes are added.
Even in your example, you need HikaShop to support more than 2 decimals to be able to store 13.7155 in the database so that it can calculate 14.95 when applying the tax. (note that your screenshots do not correspond to the prices you've written about in your message)

It's also necessary for some products where more than 2 decimals are needed.
For example, you'll often see the price of gasoline with 3 decimals, or the kwh price (for electricity).

However, normally, on the frontend you should only see the rounded price with the correct value, isn't it ?

Note that in the past, we had a plugin called "tax override plugin" which could produce strange rounding results. That plugin has been removed from HikaShop but if you still have it and it is enabled, that might explain why you're struggling with the tax calculations and the rounding.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzkwMjkxNS1tdWx0aXBsZS1kZWNpbWFscy1mb3ItZXVyby1uZWNlc3NhcnktdG8tc2hvdy10aGVtLWluLWJhY2tlbmQ/dG1wbD1tYXJrZG93bg==) 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.046 seconds

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