svn: /phpdoc/en/trunk/reference/var/functions/ strval.xml

From: Date: Wed, 30 Sep 2009 06:52:47 +0000
Subject: svn: /phpdoc/en/trunk/reference/var/functions/ strval.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5010@lists.php.net to get a copy of this message
torben Wed, 30 Sep 2009 06:52:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288981 Log: Refer users looking for a way to format numeric values as strings to sprintf() or number_format(). Addresses bug #49619. Bug: http://bugs.php.net/49619 (Open) Include "number_format" in See Also of StrVal Changed paths: U phpdoc/en/trunk/reference/var/functions/strval.xml Modified: phpdoc/en/trunk/reference/var/functions/strval.xml =================================================================== --- phpdoc/en/trunk/reference/var/functions/strval.xml 2009-09-30 06:44:46 UTC (rev 288980) +++ phpdoc/en/trunk/reference/var/functions/strval.xml 2009-09-30 06:52:47 UTC (rev 288981) @@ -17,6 +17,11 @@ See the documentation on <type>string</type> for more information on converting to string. </simpara> + <simpara> + This function performs no formatting on the returned value. If you + are looking for a way to format a numeric value as a string, please + see <function>sprintf</function> or <function>number_format</function>. + </simpara> </refsect1> <refsect1 role="parameters"> @@ -78,6 +83,8 @@ <member><function>floatval</function></member> <member><function>intval</function></member> <member><function>settype</function></member> + <member><function>sprintf</function></member> + <member><function>number_format</function></member> <member><link linkend="language.types.type-juggling">Type juggling</link></member> </simplelist> </para>

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