Re: Why do these values not match?

From: Date: Tue, 25 Jun 2002 23:16:51 +0000
Subject: Re: Why do these values not match?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-20115@lists.php.net to get a copy of this message
On Tue, 25 Jun 2002 15:58:22 -0700 <szii@sziisoft.com> wrote: > Looks like a bug in PHP since the types are both > set correctly and appear equal. Doing a cast/recast > should never change the "value" and have it suddenly > compare okay via the last "!=" operator. No, that is definitively not a bug. Check the bugs archive or general php list for further infos or a full description. It's a normal comportment with floating point numbers. hth pa

« previous php.db (#20115) next »