Re: a stupid question
| From: | Ting Chen | Date: | Mon, 17 Nov 2008 13:22:29 +0000 |
| Subject: | Re: a stupid question | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41976@lists.php.net to get a copy of this message | ||
i am recently studying Php5 manul. This is one of the examinations in
the book. The answer is "0.0" is true rather than false. I am very
curious about why if the answer is not wrong.
green geen still green~
On 11/17/08, Andrew Rose <rose.andrew@gmail.com> wrote:
> 2008/11/17 Ting Chen <gilltdr1008@gmail.com>:
>
> > Hi everybody,
> >
> > sorry this is a greenhand's stupid question. Why isn't "0.0" false? I
> > know it is a string but I still think it equals to 0.
> >
>
>
> I think you answered your own question there.
>
>
> Andrew
>