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

#   Exchange rate not saved

##

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

Less More

- Posts: 44
- Thank you received: 1
-
-
- [](https://www.steak-mafia.com)
-

4 years 4 months ago [\#343392](#343392) by [Alex3](/forum/user/67111-alex3 "View Alex3's Profile")  *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343392 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")* was created by *[Alex3](/forum/user/67111-alex3 "View Alex3's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.5
-- PHP version -- : 8.1

I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004
I tried different decimal values but it doesn't work.
How to fix it ?

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 4 months ago -  4 years 4 months ago [\#343397](#343397) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343397 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")*

Hello,

I'm sorry for this return, but can you elaborate a little more your context.
For this, provide us these elements :
- Relative settings **screenshot**
- Details your **needs**, and what you want to achieved
- List your **different test** in order to allow us to try to reproduce your issue.

Awaiting your elements to progress on your subject.
Regards

Last edit: 4 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 44
- Thank you received: 1
-
-
- [](https://www.steak-mafia.com)
-

4 years 4 months ago [\#343421](#343421) by [Alex3](/forum/user/67111-alex3 "View Alex3's Profile")  Replied by *[Alex3](/forum/user/67111-alex3 "View Alex3's Profile")* on topic *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343421 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")*

Not saved

- [ ![2022-07-2123.48.11.png](/forum/attachment/55295) ](/forum/attachment/55295 "...2123.48.11.png") [ ](/forum/attachment/55295?download=1 "...2123.48.11.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 4 months ago -  4 years 4 months ago [\#343435](#343435) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343435 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")*

Hello,

Please, in order to allow us to analyze directly on your website the issue provide these elements :
- An **Url link** to your backend access
- Backend user **references** (with maximum Acl)

**=&gt;** Use our **[ Contact us](https://www.hikashop.com/support/contact-us.html)** form to provide these elements, and don't forget to add an **Url to this topic** in order to keep the link.
Regards

Last edit: 4 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

4 years 4 months ago [\#343442](#343442) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343442 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")*

Hi Alex3,

The reason is the format of the database column, which by default is set to "decimal 16,5", meaning 5 decimals behind the dot.

So, to be able to save exchange rates with more decimals (e.g. 6 decimals as in your example), you'll need to change it in phpMyAdmin -&gt; table "yourprefix_hikashop_currency" -&gt; tab "Structure" -&gt; column "currency_rate". Set it to 16,6 or 16,7 according to your needs, and then you'll be able to save and use an exchange rate of 0.000043 or similar.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile"), [Alex3](/forum/user/67111-alex3 "View Alex3's Profile")

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

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

Less More

- Posts: 44
- Thank you received: 1
-
-
- [](https://www.steak-mafia.com)
-

4 years 4 months ago [\#343444](#343444) by [Alex3](/forum/user/67111-alex3 "View Alex3's Profile")  Replied by *[Alex3](/forum/user/67111-alex3 "View Alex3's Profile")* on topic *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343444 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")*

Thanks for the answer! but why should I bother with it. Fellow programmers, please fix this.![:P](/media/kunena/emoticons/14.png ":P")

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

Less More

- Posts: 86593
- Thank you received: 14334
-
-

4 years 4 months ago [\#343454](#343454) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Exchange rate not saved](/forum/29-payment-methods/904761-exchange-rate-not-saved#343454 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.1  I need to set the exchange rate 0,000043 But when saving it rounds up to 0.00004 I tried different decimal values but it doesn't work. How to fix it ?")*

Hi,

It's not a bug, so there is nothing to fix. It's a design choice we made when we first designed our software that there would be no need for more than 5 decimals for exchange rates.
Now, you're saying that 1 more decimal is needed in some cases. @lousyfool provided you with an easy solution for you to allow for it.

We'll look into changing this for new installations of HikaShop. But even if we add this change in the next version of HikaShop, this would change for you as it will only be for new installations of HikaShop. So you still need to do the modification via PHPMyAdmin if you need to enter more decimals than 5 in that setting.

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

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