Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Form] do not cast too big floats to int#61875
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
The whole method looks weird to me. If the value is an int that can also be represented as a float without precision loss, return the float ? Why doing that ? |
I was wondering the same but getting rid of the cast means that the |
Thank you@xabbuh. |
372d809 intosymfony:6.4Uh oh!
There was an error while loading.Please reload this page.
the last PHP 8.5 related failure for the
6.4branch that we can fix on our end (seehttps://github.com/symfony/symfony/actions/runs/18059816827/job/51394530342#step:8:2731)