It's more consistent than an error, considering that casts from strings to numbers always succeeds by simply ignoring trailing garbage. I wouldn't mind if that policy was changed to something more stringent, though.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-01-10 18:31: Subject: Re: PLEAC
And should (float) really behave like this?
(float)"";
(5) Result: 0.000000
/ Martin Nilsson (Åskblod)