note 2504 deleted from number_format by danbeck

From: Date: Thu, 28 Jun 2001 15:50:08 +0000
Subject: note 2504 deleted from number_format by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-14720@lists.php.net to get a copy of this message
Surrogates of the comma and decimal point may not be strings. Id est: $NUMBER = number_format(200000, 2, "CHICKEN", "JOHNNY"); print $NUMBER; The first line will be interpreted as having two parameters: the number itself and the number of decimal spaces beyond the decimal point. The second line will output so: 200,000.00

« previous php.notes (#14720) next »