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.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to