Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
The two numbers you gave become the same when rounded to the limited internal precision used by floats. >>> 10000.12345678901234 == 10000.123456789011 True When it comes to displaying the number, Python tries to show the shortest possible member of the equivalence class. ---------- nosy: +rhettinger resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46259> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com