oftwares Financeiros
-Mensagem original-
De: Philip Thompson [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 6 de maio de 2008 11:34
Para: PHP-General List
Assunto: Re: [PHP] strange behavior, when converting float to int
On May 6, 2008, at 1:38 AM, Maxim Antonov wrote:
> Hi,
On Tue, 2008-05-06 at 09:34 -0500, Philip Thompson wrote:
> I got the same results. I'm not exactly sure what's happening, but
> I'd
> be curious to see if there's anyone else who can shed some light.
>
> PHP Version 5.2.4.
Is this not coming from the underlying C libs that directly use the F
On May 6, 2008, at 1:38 AM, Maxim Antonov wrote:
Hi, all!
Is this a bug?
[EMAIL PROTECTED]:~$ /usr/bin/php 1.php
45
45
float(46)
[EMAIL PROTECTED]:~$ /usr/bin/php -v
PHP 5.3.0-dev (cli) (built: Apr 4 2008 11:37:33)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998
Hi, all!
Is this a bug?
[EMAIL PROTECTED]:~$ /usr/bin/php 1.php
45
45
float(46)
[EMAIL PROTECTED]:~$ /usr/bin/php -v
PHP 5.3.0-dev (cli) (built: Apr 4 2008 11:37:33)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
[EMAIL PROTECTED]:~$ cat
4 matches
Mail list logo