Skip to content

[IntegerType] fix rounding_mode default value #17333

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

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

AboulhajHakim
Copy link
Contributor

@AboulhajHakim AboulhajHakim commented Oct 8, 2022

change default value of rounding_mode option from \NumberFormatter::ROUND_HALFUP to default: \NumberFormatter::ROUND_DOWN see https://github.com/symfony/symfony/blob/6.0/src/Symfony/Component/Form/Extension/Core/Type/IntegerType.php

@AboulhajHakim AboulhajHakim requested a review from xabbuh as a code owner October 8, 2022 21:53
@carsonbot carsonbot added this to the 6.0 milestone Oct 8, 2022
@xabbuh xabbuh modified the milestones: 6.0, 5.4 Oct 9, 2022
@javiereguiluz
Copy link
Member

@hakimtechmyteam thanks ... and congrats on your first Symfony Docs contribution 🎉

@javiereguiluz javiereguiluz changed the base branch from 6.0 to 5.4 October 10, 2022 14:19
change default value of rounding_mode option from \NumberFormatter::ROUND_HALFUP to default: \NumberFormatter::ROUND_DOWN 
see https://github.com/symfony/symfony/blob/6.0/src/Symfony/Component/Form/Extension/Core/Type/IntegerType.php::49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants