Skip to content
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

Localization Issue with comma decimal and serialization #319

Closed
TimPurdum opened this issue Mar 28, 2024 · 0 comments · Fixed by #349
Closed

Localization Issue with comma decimal and serialization #319

TimPurdum opened this issue Mar 28, 2024 · 0 comments · Fixed by #349
Assignees
Labels
bug Something isn't working

Comments

@TimPurdum
Copy link
Collaborator

From Discord report:

Hello. I think you have a localisation issue. I Noway we use ', ' comma as decimal separator and data is stored in database with comma.
and thus the program crash i the QueryFeatures call as shown below. If I change the system settings to use pint as decimal separator the QueryFeatures is OK.

image

I believe double.Parse can take a CultureInfo to determine how to parse. However, I wonder if knowing which culture to use might be an issue because we need to know the culture used in generating the graphic attribute data in the first place, which could come from various sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant