Skip to content

Commit 030914c

Browse files
committed
Add notes to 5.1 upgrade guide for roundingMode
Refs cakephp/cakephp#17552
1 parent 00ecd7b commit 030914c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

en/appendices/5-1-upgrade-guide.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ Http
6565
has been sent in fastcgi environments. In other environments the
6666
``Server.terminate`` event runs *before* the response has been sent.
6767

68+
I18n
69+
----
70+
71+
- ``Number::formatter()`` and ``currency()`` now accept a ``roundingMode``
72+
option to override how rounding is done.
73+
6874
TestSuite
6975
---------
7076

@@ -84,3 +90,5 @@ View
8490

8591
- View cells now emit events around their actions ``Cell.beforeAction`` and
8692
``Cell.afterAction``.
93+
- ``NumberHelper::format()`` now accepts a ``roundingMode`` option to override how
94+
rounding is done.

0 commit comments

Comments
 (0)