Re: More math fun

From: Date: Wed, 13 Aug 2008 04:38:55 +0000
Subject: Re: More math fun
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-278019@lists.php.net to get a copy of this message
On Tue, 2008-08-12 at 23:23 -0500, Micah Gersten wrote: > Robert, when you do yours, it's performing the same function on two > different variable types and has to do a conversion before the function > works. He was doing a numeric function on a string which might be > giving the funky results. That's what Jim tried and got 0 and double... I confirmed Jim's results (I didn't originally test Jay's problem) and then tried the alternative that I might have thought this morning. Either way, it seems to come up as 0. Maybe Jay is running a buggy version of PHP. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#278019) next »