-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible wrong conversion format for decimal separator #51
Comments
Hello sir, |
Hi, you are right that it works correctly even with wrong windows localization settings. This morning I got it working everywhere correctly, the way I fixed it globally was to set DefaultThreadCurrentCulture in Program.cs above builder.
I used data fetched from a database as a decimal converted to a double in DisplayPointsFromArray.addPoint. I cant change the code inside the .cs file but I'm sure that if you set the culture, just inside the thread that invokes js code, you could get it to behave in the same way. A problem ex. would be : The culture of the thread is "Croatian", the decimal separator is a comma and because of that the I hope this was helpful. |
Yes sir, i will be change/add and I make a new release! |
Hello sir, In a few minutes version 2.2.0.8 will be available Thanks! |
Hi Ichim, your map is amazing and thank you for all the hard work.
During development I noticed that points wouldn't show on some computers.
I found that the array containing lat and lon coords was in the wrong format on the problematic computers it probably has to do with the local computers localization settings.
It uses a comma as the decimal separator
Correctly formats the decimal separator
The text was updated successfully, but these errors were encountered: