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

#   Effectively and for once set decimals control

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 6 months ago [\#239592](#239592) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Effectively and for once set decimals control](/forum/25-install-update/884410-effectively-and-for-once-set-decimals-control#239592 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1  Is there a simple single way to configure decimal number treatment for currency and for sizes, and by extension to everything ?  It seems to me like I am missing one main place to manage this.  I have prices set to 2 decimals with ,comma, but when I enter non tax price the tax one gets shown with .dot.  Then if I enter a entire price like 10 € it shows 10 € but I want to show 10,00 €  For sizes I get 5 numbers after the .dot. but I want 2 numbers after the ,comma,  MSRP price shows with 5 decimals after .dot. although my currency configuration is set to 2 after ,comma, and although non MSRP prices show right in number of decimals but wrong with ,comma, and .dot.  Then form frontend HikaMarket to Backend everything changes again  I wil not go further as I think the problem is clear enough, I don't find a consistent way to setup this effectively, specially because input boxes accept and understan my ,comma, but they insist on displaying .dot. after refresh.  Thank you and sorry if it was too long.")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

Is there a simple single way to configure decimal number treatment for currency and for sizes, and by extension to everything ?

It seems to me like I am missing one main place to manage this.

I have prices set to 2 decimals with ,comma, but when I enter non tax price the tax one gets shown with .dot.

Then if I enter a entire price like 10 € it shows 10 € but I want to show 10,00 €

For sizes I get 5 numbers after the .dot. but I want 2 numbers after the ,comma,

MSRP price shows with 5 decimals after .dot. although my currency configuration is set to 2 after ,comma, and although non MSRP prices show right in number of decimals but wrong with ,comma, and .dot.

Then form frontend HikaMarket to Backend everything changes again

I wil not go further as I think the problem is clear enough, I don't find a consistent way to setup this effectively, specially because input boxes accept and understan my ,comma, but they insist on displaying .dot. after refresh.

Thank you and sorry if it was too long.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NDQxMC1lZmZlY3RpdmVseS1hbmQtZm9yLW9uY2Utc2V0LWRlY2ltYWxzLWNvbnRyb2w/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: 86363
- Thank you received: 14296
-
-

10 years 6 months ago [\#239611](#239611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Effectively and for once set decimals control](/forum/25-install-update/884410-effectively-and-for-once-set-decimals-control#239611 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1  Is there a simple single way to configure decimal number treatment for currency and for sizes, and by extension to everything ?  It seems to me like I am missing one main place to manage this.  I have prices set to 2 decimals with ,comma, but when I enter non tax price the tax one gets shown with .dot.  Then if I enter a entire price like 10 € it shows 10 € but I want to show 10,00 €  For sizes I get 5 numbers after the .dot. but I want 2 numbers after the ,comma,  MSRP price shows with 5 decimals after .dot. although my currency configuration is set to 2 after ,comma, and although non MSRP prices show right in number of decimals but wrong with ,comma, and .dot.  Then form frontend HikaMarket to Backend everything changes again  I wil not go further as I think the problem is clear enough, I don't find a consistent way to setup this effectively, specially because input boxes accept and understan my ,comma, but they insist on displaying .dot. after refresh.  Thank you and sorry if it was too long.")*

Hi,

There is no single option to have everything display the same.
HikaShop gives the float value in the input. So you see the price with a comma or a dot based on how your PHP locale is configured to display floating numbers:
[ mark-story.com/posts/view/php-floats-localization-and-landmines](http://mark-story.com/posts/view/php-floats-localization-and-landmines)
And when HikaShop displays a price with the currency, it uses the decimal separator setting of the currency.
So what you want is to modify the locale of your PHP so that it display the floats like you want:
[ php.net/manual/en/function.setlocale.php](http://php.net/manual/en/function.setlocale.php)

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

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

Less More

- Posts: 48
- Thank you received: 0
-
-

10 years 4 months ago [\#243719](#243719) by [Nabo](/forum/user/33180-nabo "View Nabo's Profile")  Replied by *[Nabo](/forum/user/33180-nabo "View Nabo's Profile")* on topic *[Effectively and for once set decimals control](/forum/25-install-update/884410-effectively-and-for-once-set-decimals-control#243719 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1  Is there a simple single way to configure decimal number treatment for currency and for sizes, and by extension to everything ?  It seems to me like I am missing one main place to manage this.  I have prices set to 2 decimals with ,comma, but when I enter non tax price the tax one gets shown with .dot.  Then if I enter a entire price like 10 € it shows 10 € but I want to show 10,00 €  For sizes I get 5 numbers after the .dot. but I want 2 numbers after the ,comma,  MSRP price shows with 5 decimals after .dot. although my currency configuration is set to 2 after ,comma, and although non MSRP prices show right in number of decimals but wrong with ,comma, and .dot.  Then form frontend HikaMarket to Backend everything changes again  I wil not go further as I think the problem is clear enough, I don't find a consistent way to setup this effectively, specially because input boxes accept and understan my ,comma, but they insist on displaying .dot. after refresh.  Thank you and sorry if it was too long.")*

hi,

it is possible to change the decimals from dot to comma in the productform of the vendor front end? i edit the currency, so in the shop everything is okay, but some vendors make a dot for the group separator (like its typical for europa) and than we have the decimal seperator on the wrong place.

for example:
typing in the productform: 2.600
saved price is: 2,6
correct price must be: 2.600,00

thx

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NDQxMC1lZmZlY3RpdmVseS1hbmQtZm9yLW9uY2Utc2V0LWRlY2ltYWxzLWNvbnRyb2w/dG1wbD1tYXJrZG93bg==) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

10 years 4 months ago [\#243737](#243737) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Effectively and for once set decimals control](/forum/25-install-update/884410-effectively-and-for-once-set-decimals-control#243737 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1  Is there a simple single way to configure decimal number treatment for currency and for sizes, and by extension to everything ?  It seems to me like I am missing one main place to manage this.  I have prices set to 2 decimals with ,comma, but when I enter non tax price the tax one gets shown with .dot.  Then if I enter a entire price like 10 € it shows 10 € but I want to show 10,00 €  For sizes I get 5 numbers after the .dot. but I want 2 numbers after the ,comma,  MSRP price shows with 5 decimals after .dot. although my currency configuration is set to 2 after ,comma, and although non MSRP prices show right in number of decimals but wrong with ,comma, and .dot.  Then form frontend HikaMarket to Backend everything changes again  I wil not go further as I think the problem is clear enough, I don't find a consistent way to setup this effectively, specially because input boxes accept and understan my ,comma, but they insist on displaying .dot. after refresh.  Thank you and sorry if it was too long.")*

Hi,

The price edition, in HikaMarket or in HikaShop is not related to any "currency formatting".
It does not accept spaces or "thousand separator".

If you enter a coma or a point ; it will consider it as your decimal separator.

Regards,

---

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

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

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