Jump to content
m0ttan

Decimals problems on 1.7.6

Recommended Posts

Hy all. I have a strange issue:

On back office i have set number of decimals to 0 and no effect on front office or back office also (decimals are shown in FO with 2 decimals and in BO number of decimals for price without tax is 6! and with tax is 2). 

On root/translations/cldr/main--ro-RO--numbers i have "standard":"#,##0\u00a0\u00a4 (i use RO language).

I have tried to change into 1, 2, or any value for decimals in BO also on cldr but no result.

This problem appeared after updating from 1.7.5 to 1.7.6.

 

Cleared cached, etc..

 

Similar problems or just me?

Share this post


Link to post
Share on other sites

They changed (again) currency management so /translations/cldr/ are not used anymore. And it's supposed to manage currency format but in next versions.

Share this post


Link to post
Share on other sites

the same thing happened to me, 6 decimals appeared to me ...

go directly to the database .. and edit this table ps_currency in the precision column is where you will put the number of decimals you want to appear

 

also take a look at this new ps_currency_lang table where you can change the symbol, ... in my case it was $ to MXN

primero.jpg

base.jpg

  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you very much! 

I had similar problem with my Turkish website. 

Also i had to clear the numeric_iso_code   because of my payment module it was bugging the bank's website. 

 

I mean I cleared the (0) number... And everything went normal... 

  • Thanks 1

Share this post


Link to post
Share on other sites
On 7/28/2019 at 8:25 PM, Gerardo Martinez G said:

the same thing happened to me, 6 decimals appeared to me ...

go directly to the database .. and edit this table ps_currency in the precision column is where you will put the number of decimals you want to appear

 

also take a look at this new ps_currency_lang table where you can change the symbol, ... in my case it was $ to MXN

primero.jpg

base.jpg

Thanks! this solved my problem!

Share this post


Link to post
Share on other sites

Thank you.

I had a problem with this on my site officeplushome.com on PS 1.7.6.2

It tooks 3 days to find this solution.

Thanks again

Share this post


Link to post
Share on other sites

Hi 

I had similar problem with my website

I must display 3 decimals (Tunisian Dinars )

I update ps_currency (precision = 3 )  but nothing changed 

Any Idea ?

image.png.45214d3f412ad5e459666e87916fa9cc.png

Edited by ahmed.guermazi (see edit history)

Share this post


Link to post
Share on other sites

Sure, the trick is - instead of /translations/cldr/ use /localization/CLDR/core/common/main

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More