[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Just curious: Why is tonumber(nil) not 0?
- From: Henk Boom <henk@...>
- Date: Mon, 27 Apr 2009 10:35:47 -0400
2009/4/27 Evan DeMond <evan.demond@gmail.com>:
> Yep, and this was one of those times I recognized the obvious immediately
> after hitting "Send," too. Sorry for the noise. =)
It's apparently not obvious to everyone:
http://us3.php.net/manual/en/function.intval.php
Trying to program with that function is really an exercise in frustration.
Henk