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
@@ -245,14 +245,12 @@ Validation
245
245
246
246
- 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.
247
247
248
-
Entities
249
-
========
250
-
251
-
- **Float and Double Casting:** Added support for precision and rounding mode when casting to float or double in entities.
252
-
253
248
Others
254
249
======
255
250
251
+
- **Float and Double Casting:** Added support for precision and rounding mode when casting to float or double in entities.
252
+
- Float and Double casting now throws ``CastException::forInvalidFloatRoundingMode()`` if an rounding mode other than up, down, even or odd is provided.
0 commit comments