Fixed bug #51151 (Example is wrong)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296206 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2010-03-14 22:25:56 +00:00
parent 99ea22f629
commit 9cfea04a70

View file

@ -190,7 +190,7 @@
<listitem>
<para>
The number is formatted according to the locale's national
currency format (e.g. for the de_DE locale: DM1.234,56).
currency format (e.g. for the de_DE locale: EU1.234,56).
</para>
</listitem>
</varlistentry>
@ -270,7 +270,7 @@ echo money_format('%i', $number) . "\n";
// Italian national format with 2 decimals`
setlocale(LC_MONETARY, 'it_IT');
echo money_format('%.2n', $number) . "\n";
// L. 1.234,56
// Eu 1.234,56
// Using a negative number
$number = -1234.5672;
@ -291,7 +291,7 @@ echo money_format('%=*(#10.2n', $number) . "\n";
// and using the international format for the de_DE locale.
setlocale(LC_MONETARY, 'de_DE');
echo money_format('%=*^-14#8.2i', 1234.56) . "\n";
// DEM 1234,56****
// Eu 1234,56****
// Let's add some blurb before and after the conversion specification
setlocale(LC_MONETARY, 'en_GB');