Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print(0.1+0.2==0.3)
#2
Some useful links
https://docs.python.org/3/tutorial/floatingpoint.html
https://docs.python.org/3/faq/design.html#id5
https://stackoverflow.com/q/588004/4046632
akbarza likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
print(0.1+0.2==0.3) - by akbarza - Mar-04-2024, 06:59 AM
RE: print(0.1+0.2==0.3) - by buran - Mar-04-2024, 08:50 AM
RE: print(0.1+0.2==0.3) - by Axel_Erfurt - Mar-04-2024, 12:46 PM
RE: print(0.1+0.2==0.3) - by Gribouillis - Mar-04-2024, 02:02 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020