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

Fix: decimal.TryParse is now Culture-Invariant #11

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

plantysnake
Copy link

@plantysnake plantysnake commented Nov 18, 2023

In my default regional settings decimal has comma separator, not dot. Therefore, I was getting such errors while using expressions:
image

Using InvariantCulture allows code to ignore this issue and parse decimal with dot every time.

@tautcony
Copy link
Owner

Thanks for your contribution.

@tautcony tautcony merged commit 220e5b1 into tautcony:develop Nov 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants