Message407793
To normalize negative 0.0 to 0.0 you can just add 0.0. It will work with any method of converting floats to string, there is no need to change all formatting specifications.
>>> x = -0.0
>>> x
-0.0
>>> x + 0.0
0.0 |
|
Date |
User |
Action |
Args |
2021-12-06 12:15:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, John Belmonte |
2021-12-06 12:15:51 | serhiy.storchaka | set | messageid: <1638792951.69.0.120734385745.issue45995@roundup.psfhosted.org> |
2021-12-06 12:15:51 | serhiy.storchaka | link | issue45995 messages |
2021-12-06 12:15:51 | serhiy.storchaka | create | |
|