Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
edrobap
· 5y ago · 0 comments
Explanation for this behaviour is explained here -
https://docs.python.org/3/library/decimal.html
Comments
[–]
asplake
5y ago
Floating point isn't the issue. 'and' is a logical operator here. 0.1 and 0.1 is 0.1.
[–]
AlexHerbert
5y ago
Thank you