Skip to content

Conversation

@larskuhnt
Copy link

Hi,

I was facing the issue that a value of 012 was parsed via Integer("012") and returned the integer value 10. As an integer by definition may not have a leading zero, values starting with 0 will be parsed as either a float or a string.

Thanks for the good work
Lars

@andrewm3
Copy link

andrewm3 commented Aug 15, 2019

We have been facing a similar issue, including some hashes (e.g. 123e55) being interpreted as scientific notation, and confirm that this PR solves it.

@TwP what are your thoughts on this PR? It would be great to get this merged into mainline.

@LMacchi
Copy link

LMacchi commented Aug 26, 2019

Running into this issue too, @TwP would you mind reviewing @larskuhnt solution?

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.

3 participants