Open t1sh0o opened 4 years ago
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla.
CLA has not been signed by users: @t1sh0o.
After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check
as a comment to the PR.
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
@NathanWalker can you merge this PR please? thx
It seems that the currency should be set on the DecimalFormatSymbols instance before setting it to the NumberFormat instance in order to display proper currency.
With the old implementation, we had the following results, from which the first is ok, but the second is wrong:
And with the new one, the second call results in
BGN123.90
which seems to be the correct result.Fixes #23