[Solved] Currecny format ignoring the explicit locale

We configured in the Designer settings the Explicit locale it-IT

However, when using the template function formatter.currencyNoSymbol() with the input 422,4 the comma seems to be ignored and the displayed value is 4.224,00.

The expected value is 422,40

I couldn’t find any other know issue on the subject.

You’re right. If you pass a field of type ‘String’ to a formatter function that expects a number, we assume the string uses a period as the decimal separator, regardless of the active locale.

There is no easy workaround on the template side, but on the data mapper side you could of course change the field type to ‘Float’ - specifying appropriate decimal and thousands separators.

Thanks for the clarification, I wrongly assumed that the locale also instructed the Template on how to parse a string type.