Fixed a minor annoyance. you can have 1, 2, or 4 parameters but not three

and the proto was incorrect.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129938 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
John Coggeshall 2003-06-03 10:34:50 +00:00
parent 0c5494bd00
commit 4fcc07be77

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.number-format">
<refnamediv>
@ -12,8 +12,13 @@
<type>string</type><methodname>number_format</methodname>
<methodparam><type>float</type><parameter>number</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>decimals</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>dec_point</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>thousands_sep</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>string</type><methodname>number_format</methodname>
<methodparam><type>float</type><parameter>number</parameter></methodparam>
<methodparam><type>int</type><parameter>decimals</parameter></methodparam>
<methodparam><type>string</type><parameter>dec_point</parameter></methodparam>
<methodparam><type>string</type><parameter>thousands_sep</parameter></methodparam>
</methodsynopsis>
<para>
<function>number_format</function> returns a formatted version of