Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Form] Correctly round model with PercentType and add a rounding_mode option#35729
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
24eb4c3
to8b3de3c
Compare...ymfony/Component/Form/Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
@nicolas-grekas I made the PR on master because I added an option But I kinda consider as a bug the fact the value is not rounded in |
If the PR#35781 is accepted, I'll need to include the same fix. |
d07e3c9
toe564a8d
Compare@nicolas-grekas@xabbuh Hi ! Is something missing with this PR ? :) |
Thank you@VincentLanglet. |
This PR was merged into the master branch.Discussion----------Add doc for rounding_modeRelated tosymfony/symfony#35729Commits-------fcc8641 Add doc for rounding_mode
Uh oh!
There was an error while loading.Please reload this page.