On Thu, 21 Feb 2002 12:10:53 +1100, Martin Towell wrote:

>$z = (int)($x / $y);   // should work
>
>or
>
>$z = $x / $y;
>settype($z, "integer");

or

$z = intval($x / $y);


bvr.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to