Document precision specifier more clearly. This sentence fragement was

incorporated from the Linux man-pages project's documentation on printf(3)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280456 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joey Smith 2009-05-13 16:06:59 +00:00
parent 39befb28a0
commit 7ffd6b8baf

View file

@ -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>