mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
99ea22f629
commit
9cfea04a70
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue