appendices/migration83/incompatible.xml
97fb8392092c2e1cb4804a87422e3465c5ec2ca2
...
...
@@ -196,6 +196,11 @@
196
196
<parameter>$step</parameter> is a float when trying to generate a range of
197
197
characters, except if both boundary inputs are numeric strings (e.g.
198
198
<code>range('5', '9', 0.5);</code> does not produce a warning).</member>
199
+
<member><function>number_format</function> now handles negative
200
+
<parameter>$decimals</parameter> values by rounding
201
+
<parameter>$num</parameter> to <code>abs($decimals)</code> digits before the
202
+
decimal point. Previously, negative <parameter>$decimals</parameter> values
203
+
were ignored.</member>
199
204
<member><function>range</function> now produce a list of characters if one
200
205
of the boundary inputs is a string digit instead of casting the other input
201
206
to int (e.g. <code>range('9', 'A');</code>).</member>
202
207