This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hbutt4319
Recipients hbutt4319, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-05-04.16:58:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620147513.11.0.38970557678.issue44034@roundup.psfhosted.org>
In-reply-to
Content
y = int(1.999999999999999) # fifteen decimal points
print(y)
1       # output is 1

y = int(1.9999999999999999) # sixteen decimal points
print(y)
2       # output is 2
It shows 1 when we type fifteen decimal whereas when we add sixteen decimal points the output becomes 2.
History
Date User Action Args
2021-05-04 16:58:33hbutt4319setrecipients: + hbutt4319, paul.moore, tim.golden, zach.ware, steve.dower
2021-05-04 16:58:33hbutt4319setmessageid: <1620147513.11.0.38970557678.issue44034@roundup.psfhosted.org>
2021-05-04 16:58:33hbutt4319linkissue44034 messages
2021-05-04 16:58:33hbutt4319create