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

#   Round prices last digits

##

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

4 years 2 months ago [\#344761](#344761) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Round prices last digits](/forum/26-product-category-display/905015-round-prices-last-digits#344761 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11  Hello!  I would like to round the prices for example from 22,93 € to be 23 € I enabled the Round prices during calculations but nothing changed and then i added number 10 in Rounding increment of Currency options but it affects the prices the wrong way (for example 22 € to 20 €)  How can i do that?  Thank you")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 3.10.11

Hello!

I would like to round the prices for example from 22,93 € to be 23 €
I enabled the Round prices during calculations but nothing changed and then i added number 10 in Rounding increment of Currency options but it affects the prices the wrong way (for example 22 € to 20 €)

How can i do that?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDUwMTUtcm91bmQtcHJpY2VzLWxhc3QtZGlnaXRzP3RtcGw9bWFya2Rvd24=) 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: 86592
- Thank you received: 14334
-
-

4 years 2 months ago [\#344764](#344764) 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 last digits](/forum/26-product-category-display/905015-round-prices-last-digits#344764 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11  Hello!  I would like to round the prices for example from 22,93 € to be 23 € I enabled the Round prices during calculations but nothing changed and then i added number 10 in Rounding increment of Currency options but it affects the prices the wrong way (for example 22 € to 20 €)  How can i do that?  Thank you")*

Hi,

The "round prices during calculations" option is to choose whether to round the prices in between the different calculations (between adding taxes to the unit price and the multiplication of the taxed unit price with the quantity, between the sub total calculation and the coupon calculation, etc). This bases itself on the "rounding increment", the "International fractional digits" and "National fractional digits" settings of the currency. So just changing the "round prices during calculations" option won't change the number of decimals of prices, that's normal.
The "rounding increment" is to be able to support odd roundings like rounding every 0.25 cents (you would enter 0.25 in the input).
I would recommend leaving that setting empty in your case and changing the "International fractional digits" and "National fractional digits" settings to 0 instead of 2 decimals.

The following user(s) said Thank You: [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

4 years 2 months ago [\#344773](#344773) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Round prices last digits](/forum/26-product-category-display/905015-round-prices-last-digits#344773 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11  Hello!  I would like to round the prices for example from 22,93 € to be 23 € I enabled the Round prices during calculations but nothing changed and then i added number 10 in Rounding increment of Currency options but it affects the prices the wrong way (for example 22 € to 20 €)  How can i do that?  Thank you")*

Hi!

Thank you Nicolas i tried that but it removes basically the last 2 digits of the price and i tested a product with price 29,54 € and it changed it to 30 € . It should be 29,50 €

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDUwMTUtcm91bmQtcHJpY2VzLWxhc3QtZGlnaXRzP3RtcGw9bWFya2Rvd24=) 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: 86592
- Thank you received: 14334
-
-

4 years 2 months ago [\#344783](#344783) 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 last digits](/forum/26-product-category-display/905015-round-prices-last-digits#344783 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 3.10.11  Hello!  I would like to round the prices for example from 22,93 € to be 23 € I enabled the Round prices during calculations but nothing changed and then i added number 10 in Rounding increment of Currency options but it affects the prices the wrong way (for example 22 € to 20 €)  How can i do that?  Thank you")*

Hi,

It's normal that 29.54 becomes 30 with this setup.
From what you wrote in your first message, that's what I understood you wanted.
What rounding do you want then ?
What prices do you want to allow ? 29€, 29.50€ and 30€ only ?
In that case, you should revert these digit settings to 2, and change the rounding increment to 0.5

The following user(s) said Thank You: [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")

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

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