I have the following:
$percent = $read[4]/$read[5];
I want to make sure that $percent goes to zero("0") if either $read[4] or $read[5] are zero.
How do I say ...
if both $read[4] and $read[5] are NOT zero, then perfom
$percent = $read[4]/$read[5];
else $percent = 0;
thanks,
cdherold