Hi all,
I often use the LSCurrencyFormat function with the locale “de_DE”.
Since upgrading to Lucee 6.1.x, negative values are formatted as (10.00 €)
→ in brackets with a dot as decimal separator, which corresponds to the US locale “en_US”.
I would prefer the minus sign with a comma as decimal separator “-10,00 €” as it was in previous versions. Is this my mistake?
Thanks a lot for your support!
Example:
<cfscript>
setlocale("de_DE");
writeOutput(LSCurrencyFormat(-10));
dump(GetLocaleInfo());
</cfscript>
System:
Ubuntu 24.04
Tomcat 9.0.58
Apache 2.4.58
Lucee 6.1.0.243 (with Java 11 (openjdk))
Lucee 6.1.1.109-RC (with Java 21 (openjdk))