mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
number_format rounds (bug #33107)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@186846 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
21934389c2
commit
6084172faf
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.number-format">
|
||||
<refnamediv>
|
||||
|
@ -60,7 +60,7 @@ $number = 1234.56;
|
|||
|
||||
// english notation (default)
|
||||
$english_format_number = number_format($number);
|
||||
// 1,234
|
||||
// 1,235
|
||||
|
||||
// French notation
|
||||
$nombre_format_francais = number_format($number, 2, ',', ' ');
|
||||
|
|
Loading…
Reference in a new issue