On Thu, Nov 14, 2019 at 9:04 AM <[email protected]> wrote: > Does decimal make this: > 4.1 + 0.1 > produce 4.2 instead of 4.19999999999998? >
Yes, see https://docs.python.org/3/library/decimal.html#module-decimal. > _______________________________________________ > Python-ideas mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/AXXMVUXSXKBFHI2D2ILCSDM65O6KEVR4/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KGJZMJTR42SELTRAOSIZXGDN73SYSDNX/ Code of Conduct: http://python.org/psf/codeofconduct/
