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 Integer value having 15-18 digits casted into E+ float format unn… #874

Closed
wants to merge 1 commit into from

Conversation

kd9951
Copy link

@kd9951 kd9951 commented Feb 8, 2019

…ecessary

small value casted integer correctory, value bigger than PHP_INT_MAX handled as string, but 14-16 digits numeric string is casted in float and turnd out as E+ format.

This is:

- [x] a bugfix
- [ ] a new feature

Checklist:

Why this change is needed?

wrong

"999999999"
"9999999999"
"99999999999"
"999999999999"
"9999999999999"
"99999999999999"
"1.0E+15"
"1.0E+16"
"1.0E+17"
"1.0E+18"
"9999999999999999999"
"99999999999999999999"

…ecessary

small value casted integer correctory, value bigger than PHP_INT_MAX handled as string, but 14-16 digits numeric string is casted in float and turnd out as E+ format.
@kd9951 kd9951 changed the title Fix Integer value having 14-16 digits casted into E+ float format unn… Fix Integer value having 15-18 digits casted into E+ float format unn… Feb 8, 2019
@stale
Copy link

stale bot commented Apr 9, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@stale
Copy link

stale bot commented Sep 25, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@stale stale bot added the stale label Sep 25, 2019
@stale stale bot closed this Oct 2, 2019
PowerKiKi added a commit that referenced this pull request Nov 10, 2019
@oleibman oleibman removed the stale label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants