Comment

Dan Ward

If you do -7/float(10) what's the answer?

Parent comment

lola69

In Python integer division why does -7/10 == -1 and not 0?

Replies

Peter Bengtsson

That's very different. That's -7/10.0 which is something else.