datatrans/android-sdk

Swiss Francs wrong decimal separator

joost-klitsie opened this issue · 2 comments

For Swiss currencies, we expect them to be formatted like this:
#'###.##
However, if I select a Swiss German locale for my app, the currency is formatted as this:
#.###,##
I will attach a screen shot where in the top it is shown how we format it and how data trans is formatting it.
Because of the thousand grouping, it looks to me like the Swiss country is not being taken into account in the formatting.
Screenshot_20230901_150646

SDK version: 3.2.0

Hello @joost-klitsie,

We will look into it and fix it in the next release.

Thank you for raising the issue!

Best,

Luis

@luiscosta I see it is fixed in version 3.3.0 and it takes the locale of the app, thank you very much :)
correct_formatting