Currency format with negative values

Hi

I cant get the currency formatting to display negative values correctly, we use negative values for displaying discounts for example. Is it possible to solve this with a currency setting change in Litium?

Cart.Currency.Format(cost, true, culture); // if cost is 100000 then the result is "100 000 kr" (correct)
Cart.Currency.Format(cost, true, culture); // if cost is -10000 the result is "kr100 000-" (I would want it to be -100 000 kr)

Settings for the currency in Litium:
Currency symbol: kr
Position for symbol: Right with space
Group seperator: " "
Formatting: C0

Litium version: 7.2.3

The bug is tracked by https://docs.litium.com/support/bugs/bug_details?id=47813 and was released in 7.4.0 version.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.