[Scilab-users] Function int() strange behavior
ol.bond
oleksiy.bond at gmail.com
Mon Apr 18 08:03:09 CEST 2016
Hello,
I have found some weird behavior of int() function in SciLab 5.5.2:
-->1.45/0.025
ans =
58.
-->round(1.45/0.025)
ans =
58.
*but:*
int(1.45/0.025)
ans =
57.
Can anyone explain what is going on?
--
View this message in context: http://mailinglists.scilab.org/Function-int-strange-behavior-tp4033993.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160417/55154e9c/attachment.htm>
More information about the users
mailing list