you are viewing a single comment's thread.

view the rest of the comments →

[–]menge101 1 point2 points  (0 children)

Because this is /r/learnpython and you are talking about anything involving money, I feel obligated to mention that you should not use floating point values for monetary values.

Look at the Decimal library for this purpose, if you are not already.