note 11069 rejected and deleted from number_format by danbeck
| From: | danbeck@php.net | Date: | Thu, 28 Jun 2001 15:53:50 +0000 |
| Subject: | note 11069 rejected and deleted from number_format by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14721@lists.php.net to get a copy of this message | ||
just in case someone is trying to do a thousend dot seportor with round nr and with no extra nulls.
$price="1100000.8343453452345232345235";
$roundit = round($price);
$price1=number_format($roundit,0,".",".");
echo"$price1";
outputs:
1.100.001
Best regards..
-Odinn