Strange math results
| From: | Jeff | Date: | Tue, 28 Mar 2006 21:25:10 +0000 |
| Subject: | Strange math results | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232772@lists.php.net to get a copy of this message | ||
I've got a strange problem here.
I'm subtacting one variable from another, both of type "double" and if
they are the same, instead of getting a result of 0, I get something
like -9.99200722163E-016
Is this a bug or am I doing something wrong here?
Thanks,
Jeff