Skip to content

Fix Numeric String Serialization #78

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

Merged
merged 5 commits into from
Jan 24, 2020
Merged

Fix Numeric String Serialization #78

merged 5 commits into from
Jan 24, 2020

Conversation

tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Jan 23, 2020

Fixes a bug causing NUMERIC string serialization to produce incorrect values when numbers have more than 4 zeroes before or after the decimal place. (#78, fixes #77)

@tanner0101 tanner0101 added the bug Something isn't working label Jan 23, 2020
@tanner0101
Copy link
Member Author

I added a test that tests one million randomly generated numeric values. I ran this on my local machine a couple of times and pushed to CI to run once on Linux. It caught a bug, then passed every time after. Hopefully this means the implementation is now correct.

@tanner0101 tanner0101 merged commit 3f10b66 into master Jan 24, 2020
@tanner0101
Copy link
Member Author

These changes are now available in 1.0.0-beta.2.7

@tanner0101 tanner0101 deleted the tn-numericzero-fix branch January 24, 2020 00:38
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 this pull request may close these issues.

Wrong NUMERIC type parsing
1 participant