> floor(x) returns an integer Why do you say that? Assuming you are talking about math.floor, it works differently for me:
py> math.floor(10.0/3) 3.0 Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list
> floor(x) returns an integer Why do you say that? Assuming you are talking about math.floor, it works differently for me:
py> math.floor(10.0/3) 3.0 Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list