[issue39703] Floor division operator and floats

2020-02-20 Thread Kostis Gourgoulias
Kostis Gourgoulias added the comment: Aha, I see! Thanks and apologies for missing the duplicate. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39703] Floor division operator and floats

2020-02-20 Thread Kostis Gourgoulias
New submission from Kostis Gourgoulias : This was brought to my attention by a colleague, Albert B. When considering the floor division // operator, 1//0.01 should return 100.0, but instead returns 99.0. My understanding is that this is because 0.01 is represented by Decimal