0.30000000000000004
I remember in college when we learned about this and I had the thought, "Why don't we just store the numerator and denominator?", and threw together a little C++ class complete with (then novel, to me) operator-overloads, which implemented the concept. I felt very proud of myself. Then years later I learned that it's a thing people actually use: <a href="https://en.wikipedia.org/wiki/Rational_data_type" rel="nofollow">https://en.wikipedia.org/wiki/Rational_data_type</a>