From: "Stephen Craton" <[EMAIL PROTECTED]>

> I was making a parabola grapher and I was testing out some values. Part of
> the script is to take the variable b and multiply it was negative one,
then
> multiply by 2 times a. I entered a test value where a equals 1, b equals
0,
> and c equals 0. The result told me that -1 times 0 is -0.
>
> Here's the code I'm using:
>
> $x = (-1 * $b) / (2 * $a);

What version of PHP and what OS? I don't see this replicated on 4.3.3/Win2k.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to