note 45525 deleted from function.money-format by tomsommer

From: Date: Thu, 09 Sep 2004 20:24:25 +0000
Subject: note 45525 deleted from function.money-format by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-76346@lists.php.net to get a copy of this message
Note Submitter: plexium dot nerd at gmail dot com ---- When they say use setlocale() before any money_format()'s, they're not kidding. When you don't call setlocale() before using money_format(), it will produce erratic output. At least with PHP 4.3.2. <? setlocale(LC_MONETARY, "en_US"); echo money_format('%n',$DownPayment); ?>

« previous php.notes (#76346) next »