[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] svn: /phpdoc/en/trunk/reference/var/functions/ strval.xml
From:       Torben_Wilson <torben () php ! net>
Date:       2009-09-30 6:52:47
Message-ID: svn-torben-1254293567-288981-1658015098 () svn ! php ! net
[Download RAW message or body]

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>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic