Closed Ali-Farhadnia closed 1 month ago
I have used decimal.Decimal (github.com/shopspring/decimal) for cost calculations and it was ok for me.
If float was not going to work, your next best solution is to use an int and keep everything in pennies. I don't that is important for this project.
I have used decimal.Decimal (github.com/shopspring/decimal) for cost calculations and it was ok for me.