Numbers in python

Diez B. Roggisch deets at nospam.web.de
Fri Mar 10 16:02:28 CET 2006


> It certainoly does _not_ return 1.0 - it returns 1. And that is all it can
> return for being an integer that has by definition no fractional part.

Duncan was right of course. It returns 0.

Diez



More information about the Python-list mailing list