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

Fixed BigNumber sometimes returned as float instead of int #18

Merged
merged 1 commit into from
Aug 10, 2018
Merged

Fixed BigNumber sometimes returned as float instead of int #18

merged 1 commit into from
Aug 10, 2018

Conversation

Mediagone
Copy link
Contributor

Sometimes ShortUuid->encode() throws because BigNumber->getValue() returns 48.0000000000 instead of 48. I didn't found the reason of this erroneous conversion, my unit test attempt was not successful to reproduce it.

Additional information:

  • The problematic UUID v4 is 7ae31a0e-7238-11e8-b29b-c83a35dab7f4

an exception has been thrown

@pascaldevink
Copy link
Owner

@Mediagone Thanks for your contribution!

@pascaldevink pascaldevink merged commit 1f4aef3 into pascaldevink:master Aug 10, 2018
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.

2 participants