> What is the syntax for dividing 7 by 2 and getting 3; not 3.5?

you can use:

$intVar = ((int)( 7 / 2 ));

Chris

Reply via email to