number_format bug?
| From: | Valerio Ferrucci | Date: | Tue, 20 Feb 2001 12:39:11 +0000 |
| Subject: | number_format bug? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6780@lists.php.net to get a copy of this message | ||
I call:
<?
$a = 13.8;
$b = number_format($a, 2, ",", ".");
print($b);
?>
the output is "13,00"
!!
any idea?
Is it a bug?
Thanks
==================================================================
Valerio Ferrucci Tabasoft Sas
valfer@flashnet.it http://tabasoft.ancitel.it
taba@flashnet.it