Steve Nelson <[EMAIL PROTECTED]> writes:

> Don't you need to specify one of these numbers as a float?

You do.  My mistake and I haven't seen both corrections before sending my last
message. :-)

> I recall reading somewhere that all division would be 'true division'
> from >3.0 but this isn't the case in 2.x is it?

There was also some kind of "from future import true division method" but I
don't remember where I found it.  Oh!  Found it!  

http://mail.python.org/pipermail/python-dev/2001-July/016174.html

>>> from __future__ import division
>>> 42 / 250
0.16800000000000001
>>> 


Be seeing you,
-- 
Jorge Godoy      <[EMAIL PROTECTED]>

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to