From 7ffd6b8bafc79f1e74d184529c2d80ef252e61a0 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Wed, 13 May 2009 16:06:59 +0000 Subject: [PATCH] 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 --- reference/strings/functions/sprintf.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/reference/strings/functions/sprintf.xml b/reference/strings/functions/sprintf.xml index baa653f53e..dd38ced27c 100644 --- a/reference/strings/functions/sprintf.xml +++ b/reference/strings/functions/sprintf.xml @@ -1,5 +1,5 @@ - + sprintf @@ -76,10 +76,12 @@ - An optional precision specifier 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 precision specifier 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.