svn: /phpdoc/en/trunk/reference/strings/functions/ number-format.xml

From: Date: Wed, 22 Sep 2010 16:02:02 +0000
Subject: svn: /phpdoc/en/trunk/reference/strings/functions/ number-format.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7151@lists.php.net to get a copy of this message
rquadling Wed, 22 Sep 2010 16:02:02 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303684 Log: Initializers added to prototype. Changed paths: U phpdoc/en/trunk/reference/strings/functions/number-format.xml Modified: phpdoc/en/trunk/reference/strings/functions/number-format.xml =================================================================== --- phpdoc/en/trunk/reference/strings/functions/number-format.xml 2010-09-22 15:46:56 UTC (rev 303683) +++ phpdoc/en/trunk/reference/strings/functions/number-format.xml 2010-09-22 16:02:02 UTC (rev 303684) @@ -11,14 +11,14 @@ <methodsynopsis> <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>int</type><parameter>decimals</parameter><initializer>0</initializer></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> + <methodparam><type>int</type><parameter>decimals</parameter><initializer>0</initializer></methodparam> + <methodparam><type>string</type><parameter>dec_point</parameter><initializer>'.'</initializer></methodparam> + <methodparam><type>string</type><parameter>thousands_sep</parameter><initializer>','</initializer></methodparam> </methodsynopsis> <para> This function accepts either one, two, or four parameters (not three):

« previous php.doc.cvs (#7151) next »