Message 407793 - Python tracker (original) (raw)
Message407793
Author | serhiy.storchaka |
---|---|
Recipients | John Belmonte, mark.dickinson, serhiy.storchaka |
Date | 2021-12-06.12:15:51 |
SpamBayes Score | -1.0 |
Marked as misclassified | Yes |
Message-id | 1638792951.69.0.120734385745.issue45995@roundup.psfhosted.org |
In-reply-to |
Content |
---|
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 |
History | |||
---|---|---|---|
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 |