Message335863
In Python3, there is a discrepancy of integer division with decimal. Considering these two examples:
4/ .4 ==10.0. But 4//.4== 9.0
Furthermore:
2//.2 == 9.0
3//.3 ==10.0
5//.5 ==10.0
6//.6 ==10.0
All answers should be 10.0? The problem is in Python3 and not in Python2. Python2 produces 10.0 as the answers for all of the above calculation. Is it a rounding out issue? |
|
Date |
User |
Action |
Args |
2019-02-18 20:15:14 | Au Vo | set | recipients:
+ Au Vo |
2019-02-18 20:15:14 | Au Vo | set | messageid: <1550520914.92.0.84005909816.issue36028@roundup.psfhosted.org> |
2019-02-18 20:15:14 | Au Vo | link | issue36028 messages |
2019-02-18 20:15:14 | Au Vo | create | |
|