>>> x = 2000000000000034
>>> x/2
1000000000000017.0
>>> print(x/2)
1e+15

I was expecting, in fact needing, 1000000000000000017 or 1000000000000000017.0

1e+15 is unsatisfactory. Am I forced to use the decimal module?

Dick Moores
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to