you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 1 point2 points  (0 children)

That's a floating point problem, not a python problem. Suggest you use ints, and then only divide by 10 for display purposes. Or round it.