<div dir="ltr">Hi,<br><br>I've gotten a couple of email bombs on a problem where the error is "Illegal division by zero".  The text of the message is:<br><br>Illegal division by zero at (eval 53074) line 5.<br><br> occurred while running <br><br>$t2=&random(1,3);<br>$sub2=&choose($t2,"carbon","hydrogen","oxygen");<br>$f2=&choose($t2,20.0,24.0,2.0);<br>$ansb=($ansa/$f1)* $f2 * 6.0221e23;<br><br><br>The "Script Vars" in the message shows "$f1=6.0221e+23".  The actual code defines $f1 as "6.0221e23" via a &choose function.<br><br>This has happened for 3 students on 3 different access servers.<br><br>Does anyone have any ideas about what's going on or what I'm doing wrong here?<div><br></div><div>Thanks,</div><div>Bob Gonzales</div><div>Chemistry Dept</div><div>Binghamton University<br><div><pre style="color:rgb(0,0,68);line-height:17.2639999389648px"><pre><br></pre><pre><br></pre><pre><br></pre></pre></div></div></div>