You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/changelogs/v4.8.0.rst
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,14 +246,12 @@ Validation
246
246
247
247
- Custom rule methods that set an error via the ``&$error`` reference parameter now support the ``{field}``, ``{param}``, and ``{value}`` placeholders, consistent with language-file and ``setRule()``/``setRules()`` error messages.
248
248
249
-
Entities
250
-
========
251
-
252
-
- **Float and Double Casting:** Added support for precision and rounding mode when casting to float or double in entities.
253
-
254
249
Others
255
250
======
256
251
252
+
- **Float and Double Casting:** Added support for precision and rounding mode when casting to float or double in entities.
253
+
- Float and Double casting now throws ``CastException::forInvalidFloatRoundingMode()`` if an rounding mode other than up, down, even or odd is provided.
0 commit comments