From: [EMAIL PROTECTED] Operating system: win2k PHP version: 4.0.4pl1 PHP Bug Type: Strings related Bug description: casting is not consistent Casting is not consistent with doubles: $foo = "5.31abc"; $foo2 = (double) $foo; $foo3 = $foo + 0; The first gives 5.31 the second gives 5, although it should notice the full 5.31 number in the string. -- Edit Bug report at: http://bugs.php.net/?id=10437&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]