* Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > The int() function is for C/C++ programming only. This Int() function is > not supported in PHP. In PHP it would be Intval(). For float, Floatval(). > For double, DoubleVal(). Etc. But beware of the Octual numbers.
You can cast like you can in C/C++ $Days = (int) $value; // C compatible $Days = (integer) $value; // php method Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php