episerver / Quicksilver

EPiServer Commerce MVC Reference Architecture for Commerce 13 (.NET Framework 4.x)
Apache License 2.0
78 stars 97 forks source link

Exchange rates reversed #15

Closed jstemerdink closed 7 years ago

jstemerdink commented 8 years ago

In CurrencySetup.cs the rate is added reversed to the CurrencyRateRow: var rate = (double)(from.Factor / to.Factor);

magnusstrale commented 7 years ago

This is in fact correct. You can verify by using the CurrencyFormatter.ConvertCurrency method which will "scale" the currencies in the correct way.