Hi there
In South Africa, the decimal separator is . and the thousands separator most is ,
In Rio, its the other way round. Seemingly NumberFormat uses the regional settings of the device, I could be wrong.
So whilst adding numbers with 10.10 + 20.20 in South Africa will work without hustles.
Adding 10,10 and 20,20 results in NaN.
What have been the best approaches to handle this?
Thanks in advance.
PS: I also picked something strange. Running the same app hosted overseas in my computer worked well without issues and someone having different regional settings opening the same app, it broke when these computations were done. So im wondering, why is it not using the server regional settings and using client webapp settings?
In South Africa, the decimal separator is . and the thousands separator most is ,
In Rio, its the other way round. Seemingly NumberFormat uses the regional settings of the device, I could be wrong.
So whilst adding numbers with 10.10 + 20.20 in South Africa will work without hustles.
Adding 10,10 and 20,20 results in NaN.
What have been the best approaches to handle this?
Thanks in advance.
PS: I also picked something strange. Running the same app hosted overseas in my computer worked well without issues and someone having different regional settings opening the same app, it broke when these computations were done. So im wondering, why is it not using the server regional settings and using client webapp settings?