[Python-Dev] 0.1 (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sat Mar 20 01:34:39 CET 2010


Greg Ewing <greg.ewing canterbury.ac.nz> writes:

So do you think that float("0.1") and Decimal("0.1") should be equal or not, and why?

Given that float("0.1") is not the mathematical 0.1, while Decimal("0.1") is, I'd say no.



More information about the Python-Dev mailing list