Sep-23-2021, 04:20 PM
(This post was last modified: Sep-23-2021, 04:20 PM by deanhystad.)
It gets really confusing when it looks like Python can exactly represent all the numbers involved. Why is 0.3 not 0.3?
print(0.1, 0.2, 0.1 + 0.2, 0.3)
Output:0.1 0.2 0.30000000000000004 0.3