Skip to content

Commit e33b13a

Browse files
cmb69claudepache
authored andcommitted
NumberFormatter::format() does not support ::TYPE_CURRENCY
Cf. <php/php-src#9421>.
1 parent 29dd033 commit e33b13a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/intl/numberformatter/format.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
The
6060
<link linkend="intl.numberformatter-constants.types">
6161
formatting type</link> to use.
62+
Note that <constant>NumberFormatter::TYPE_CURRENCY</constant> is not supported;
63+
use <methodname>NumberFormatter::formatCurrency</methodname> instead.
6264
</para>
6365
</listitem>
6466
</varlistentry>

0 commit comments

Comments
 (0)