@thomasfuchs @colinmford yeah, you are quite right... floats are "hard". But then how about:
>>> from decimal import Decimal
>>> Decimal('4') == Decimal('4.0000000000000001')
False
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Alexandre B A Villares 🐍 (villares@ciberlandia.pt)'s status on Saturday, 22-Apr-2023 05:48:34 JST Alexandre B A Villares 🐍