Tech Insights
Be careful when comparing Decimal and float: Decimal('3.0') == 3.0 but Decimal('3.2') != 3.2.
Shared by
- Python
- Tests
Tech Insights
Decimal and float: Decimal('3.0') == 3.0 but Decimal('3.2') != 3.2.Shared by
Book a call
Tell us what you’re building. In one call, we’ll show you how our team would approach it.
Tell us what you’re building, and we’ll show you how we’d approach it.
Still prefer the good old email? Contact us



