<div dir="ltr">Hello, <div><br></div><div>I have found some weird behavior of int() function in SciLab 5.5.2:</div><div><br></div><div><div>-->1.45/0.025</div><div> ans =</div><div> </div><div> 58. </div><div> </div><div>-->round(1.45/0.025)</div><div> ans =</div><div> </div><div> 58. </div></div><div><br></div><div><b>but:</b></div><div><br></div><div><div>int(1.45/0.025)</div><div> ans =</div><div> </div><div> 57.</div></div><div><br></div><div>Can anyone explain what is going on?</div></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/Function-int-strange-behavior-tp4033993.html">Function int() strange behavior</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>