I've done this:

>>> c = float
>>> c
<type 'float'>
>>> c = 3.3
>>> c
3.2999999999999998

I've done it with and without the c = float and still it rounds the number
down. Why? And more importantly: is it possible to make Python more
accurate? I need the exact number and not something close to it for my new
application.

I'm looking for a = 3.3 and nothing else :)

Best regards!
/MJ
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to