Martin v. Loewis wrote:
floor(x) returns an integerWhy do you say that? Assuming you are talking about math.floor, it works differently for me: py> math.floor(10.0/3) 3.0
I've just double-checked. It returns a float in Python 2.x and an int in Python 3.x. (I recently switched to Python 3.1.) -- http://mail.python.org/mailman/listinfo/python-list