Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: