Message336329
| Author | Goodester |
|---|---|
| Recipients | Goodester |
| Date | 2019-02-22.17:02:23 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1550854943.4.0.447015578446.issue36082@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
As the title says I have got some wrong outputs with the round() built-in function. The bug occurs only with certain numbers though. (I've had problems only with the number 2.5, but I assume that there is more than one number that gives wrong output.) Here are some outputs with the round built-in function: >>>round(2.5) 2 >>>round(2.51) 3 >>>round(3.5) 4 >>>round(1.5) 2 As you can see the number 2.5 gives 2 instead of 3. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-02-22 17:02:23 | Goodester | set | recipients: + Goodester |
| 2019-02-22 17:02:23 | Goodester | set | messageid: <1550854943.4.0.447015578446.issue36082@roundup.psfhosted.org> |
| 2019-02-22 17:02:23 | Goodester | link | issue36082 messages |
| 2019-02-22 17:02:23 | Goodester | create | |