cvs: phpdoc /en/reference/strings/functions sprintf.xml
| From: | Joey Smith | Date: | Wed, 13 May 2009 16:06:59 +0000 |
| Subject: | cvs: phpdoc /en/reference/strings/functions sprintf.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4013@lists.php.net to get a copy of this message | ||
joey Wed May 13 16:06:59 2009 UTC
Modified files:
/phpdoc/en/reference/strings/functions sprintf.xml
Log:
Document precision specifier more clearly. This sentence fragement was
incorporated from the Linux man-pages project's documentation on printf(3)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/sprintf.xml?r1=1.20&r2=1.21&diff_format=u
Index: phpdoc/en/reference/strings/functions/sprintf.xml
diff -u phpdoc/en/reference/strings/functions/sprintf.xml:1.20
phpdoc/en/reference/strings/functions/sprintf.xml:1.21
--- phpdoc/en/reference/strings/functions/sprintf.xml:1.20 Wed Jun 20 22:25:29 2007
+++ phpdoc/en/reference/strings/functions/sprintf.xml Wed May 13 16:06:59 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
+<!-- $Revision: 1.21 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.sprintf">
<refnamediv>
<refname>sprintf</refname>
@@ -76,10 +76,12 @@
</listitem>
<listitem>
<simpara>
- An optional <emphasis>precision specifier</emphasis> that says
- how many decimal digits should be displayed for floating-point
- numbers. When using this specifier on a string, it acts as a
- cutoff point, setting a maximum character limit to the string.
+ An optional <emphasis>precision specifier</emphasis> in the form
+ of a period (`.') followed by an optional decimal digit string
+ that says how many decimal digits should be displayed for
+ floating-point numbers. When using this specifier on a string,
+ it acts as a cutoff point, setting a maximum character limit to
+ the string.
</simpara>
</listitem>
<listitem>