Developer forum

Forum » Ecommerce - Standard features » Formating of numbers

Formating of numbers

Peter Munkholm
Reply

We have en english ecommerce site. This tag used to return i.e. 90.00 or 180.00 with period for decimal seperator. 

<!--@Ecom:Order.OrderLines.TotalPriceWithoutSymbol-->

After 8.5 it returns i.e. 90,00 or 180,00. The decimal seperator changed to comma. Broke some simpel javascript calculations, becuase javascript only works with english format ( 1,000.00)


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Peter

Can you send me a link? DW 8.5 has a new feature on a currency where you can set the regional settings to use for rounding and formatting instead of Dynamicweb logic. This behavior should only be active if a regional setting is set.

So I would like to investigate... Thanks.

Nicolai

 
Nicolai Høeg Pedersen
Reply

Hi Peter

If you set the value of the CurrencyCultureInfo fields on the EcomCurrency table to empty string, it should fall back to the specifed string formatting.

A fix is on the way for 8.5.0.1

Nicolai

 

You must be logged in to post in the forum