Hi Paul,
Apologies you did not get an answer for a while, a lot of people had a Christmas break I guess :-).
I would also expect formatFloat
and parseFloat
to take the locale in account, but in our implementation it seems only the default locale is used at the moment.
This is a bug, could you report this in the support portal ?
As a workaround you could create a Java action which uses the following code:
new DecimalFormat("#,###.#", new DecimalFormatSymbols(Core.getLocale(context))).format(number);
The DecimalFormatSymbols based on your context locale will make sure it will be formatted in the right way.