Message409698
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. |
|
Date |
User |
Action |
Args |
2022-01-04 18:17:18 | rhettinger | set | recipients:
+ rhettinger, johngholman |
2022-01-04 18:17:18 | rhettinger | set | messageid: <1641320238.41.0.431350128005.issue46259@roundup.psfhosted.org> |
2022-01-04 18:17:18 | rhettinger | link | issue46259 messages |
2022-01-04 18:17:18 | rhettinger | create | |
|