Commit e5dbbdc
committed
minor #17333 [IntegerType] fix rounding_mode default value (hakimtechmyteam)
This PR was submitted for the 6.0 branch but it was merged into the 5.4 branch instead.
Discussion
----------
[IntegerType] fix rounding_mode default value
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
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
4238c6d [IntegerType] fix rounding_mode default value1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments