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:
Jakub Vrana 2005-05-23 10:54:59 +00:00
parent 21934389c2
commit 6084172faf

View file

@ -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, ',', ' ');