Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is this happening?
#2
Many numbers can't be exactly represented by the standard floating point representation.  You should write your code in such a way that this limitation doesn't cause problems for you.   See the python FAQ entry on this.
taner7 and Skaperen like this post
Reply


Messages In This Thread
Why is this happening? - by taner7 - Oct-14-2020, 08:51 PM
RE: Why is this happening? - by bowlofred - Oct-14-2020, 08:54 PM
RE: Why is this happening? - by sblancov - Oct-14-2020, 09:17 PM
RE: Why is this happening? - by Skaperen - Oct-14-2020, 10:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb What's happening here? jesse68 3 1,013 Feb-27-2023, 04:53 PM
Last Post: Gribouillis
  2 if statements happening at the same time M0TH 3 1,017 Nov-19-2022, 11:37 PM
Last Post: M0TH
  Binding not explicitly declared happening karkas 4 3,004 Aug-05-2019, 05:09 PM
Last Post: karkas
  Why this python ValueError is not happening aurquiel 2 3,111 Aug-20-2018, 07:17 PM
Last Post: aurquiel
  Something strange happening here !? TerryRitchie 4 3,986 Apr-20-2017, 07:14 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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