On Thu, Nov 14, 2019 at 9:04 AM <awesomecr...@gmail.com> 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 -- 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/AXXMVUXSXKBFHI2D2ILCSDM65O6KEVR4/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ 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/KGJZMJTR42SELTRAOSIZXGDN73SYSDNX/ Code of Conduct: http://python.org/psf/codeofconduct/