Re: number_format bug?

From: Date: Tue, 20 Feb 2001 16:21:44 +0000
Subject: Re: number_format bug?
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-6786@lists.php.net to get a copy of this message
Does someone know which configuration to change to fix this? Lennin Arriola wrote: > I was curious about it, so I tried it on my machine and I got "13,80" > win2k+php4. I think is about settings in your php configuration, although I > don't still find a reference for it. > > Lennin Arriola > lennin@conexion.com > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net I call: <? $a = 13.8; $b = number_format($a, 2, ",", "."); print($b); ?> the output is "13,00" !! any idea? Is it a bug? -- ================================================================== Valerio Ferrucci Tabasoft Sas valfer@flashnet.it http://tabasoft.ancitel.it taba@flashnet.it

« previous php.db (#6786) next »