The Python Oracle

Python's behavior for rich comparison (Or, when Decimal('100.0') < .01)

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping

--

Chapters
00:00 Question
01:46 Accepted answer (Score 6)
03:29 Answer 2 (Score 0)
04:08 Thank you

--

Full question
https://stackoverflow.com/questions/2834...

Question links:
http://docs.python.org/library/stdtypes....

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #floatingpoint #compare #decimal

#avk47