[Zope] Going CRAZY from division

Tino Wildenhain tino@wildenhain.de
Wed, 20 Nov 2002 16:34:46 +0100


Hi,

--On Dienstag, 19. November 2002 17:26 -0800 Dylan Reinhardt 
<zope@dylanreinhardt.com> wrote:

> Try your code at a Python interactive prompt.  You might be surprised
> what you get.

No. I'm not :-)

> Compare:
>
>  >>> 3*100/356
> 0
>
>  >>> 3*100.0/356
> 0.84269662921348309
>
Sure, but its a very exact 0 :-)

Regards
Tino