The Decimal class is one way if you roll your own. py-moneyed seems to be a well maintained library though I haven’t used it.
Disclaimer: I only work with currency in hobby projects.
Disclaimer: I only work with currency in hobby projects.
No comments yet.