Posted by Michael Fesser on 02/01/08 20:11
..oO(The Natural Philosopher)
>Right. So every other php funtion treats 6999 as 6999,. except printf's %d.
Of course a 6999 is treated as a 6999. But your value wasn't a 6999 int,
it was a float.
>If you use %s, it works..
>
>Invisible casting has to be the worst thing ever.
I would say in this case it was a user error.
Micha
Navigation:
[Reply to this message]
|