Re: PHP+Firebird numeric format problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 30, 2009, at 5:37 AM, helderfelipe wrote:

> I have a query who is returning a NUMERIC(18,8) column.
> 
> In the IBExpert, te resultset is:
> 
> 30,91271111
> 836,58000000
> 
> But PHP returns in a strange format:
> 
> 3.91271111
> 83.658000000
> 
> Somebody help ?

That "strange format" you're referring to looks like US_EN locale (or similar). I'm guessing you're not from the U.S.? =D If you need to reformat the output, consider....

http://php.net/number_format

Hope that helps.
~Philip
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux