On Thu, Jul 10, 2008 at 11:21 PM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 10, 2008 at 4:41 PM, Julia <[EMAIL PROTECTED]> wrote: > > I've done this: > > > >>>> c = float > >>>> c > > <type 'float'> > > This is not needed, Python variables do not have types (it is the > values that have type). > > > >>>> c = 3.3 > >>>> c > > 3.2999999999999998 > > > > I've done it with and without the c = float and still it rounds the > number > > down. Why? > > See http://docs.python.org/tut/node16.html > > Kent Thanks, I've just found (what seems to be) a workaround :)
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor