Richard Musil wrote:
Even the number
0.64417266845703130 (note the last 0) is different JSON object from
0.6441726684570313 (without the last 0).

And Python's Decimal type preserves that distinction:

>>> Decimal("0.64417266845703130")
Decimal('0.64417266845703130')
>>> Decimal("0.6441726684570313")
Decimal('0.6441726684570313')

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/RKCGJ7XZVHIKM2THOFPFV4O74WVPTVF4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to