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: Number Format Exception when Converting decimal from JavaScript 🐛 #33

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

canhorn
Copy link
Owner

@canhorn canhorn commented Sep 14, 2021

Convert.ChangeType would throw a Number Format Exception when the current Culture was not that of a '.' decimal place.
The fix was to update the Convert.ChangeType to use an InvariantCluture when changing the type of a decimal/float number.

fixes #32

Convert.ChangeType would throw a Number Format Exception when the current Culture was not that of a '.' decimal place.
The fix was to update the Convert.ChangeType to use an InvariantCluture when changing the type of a decimal/float number.

fixes #32
@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-plant-0f8750a10-33.centralus.azurestaticapps.net

@canhorn canhorn merged commit cbf4a43 into main Sep 14, 2021
@canhorn canhorn deleted the fix/current-culture-format-exception branch September 14, 2021 04:06
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.

scene.pointerY - throws Format Exception
1 participant