diff --git a/reference/strings/functions/sprintf.xml b/reference/strings/functions/sprintf.xml index cfeb2c89ed..8ff4ac0798 100644 --- a/reference/strings/functions/sprintf.xml +++ b/reference/strings/functions/sprintf.xml @@ -1,5 +1,5 @@ - + @@ -98,6 +98,9 @@ e - the argument is treated as scientific notation (e.g. 1.2e+2). + The precision specifier stands for the number of digits after the + decimal point since PHP 5.2.1. In earlier versions, it was taken as + number of significant digits (one less). u - the argument is treated as an @@ -315,7 +318,7 @@ $formatted = sprintf("%01.2f", $money); ]]>