From 8c80e037f9389b11786c34b3619d877260d3a9b6 Mon Sep 17 00:00:00 2001 From: Daniel Beckham Date: Thu, 28 Jun 2001 15:53:23 +0000 Subject: [PATCH] incorporating note from manual errata git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50296 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/math.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/functions/math.xml b/functions/math.xml index ddd89f917c..2039fd94ac 100644 --- a/functions/math.xml +++ b/functions/math.xml @@ -859,6 +859,15 @@ $randval = mt_rand(); the decimals and thousands_sep instead of a comma (",") between every group of thousands. + + + Only the first character of thousands_sep + is used. For example, if you use foo as + thousands_sep on the number + 1000, number_format will + return 1f000. + + <function>number_format</function> Example