mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
39befb28a0
commit
7ffd6b8baf
1 changed files with 7 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue