quantumrandom icon indicating copy to clipboard operation
quantumrandom copied to clipboard

Use floor division for python3 compatibility

Open rev138 opened this issue 6 years ago • 1 comments

As noted in #20, the randint() method incorrectly returns floats in python 3, due to changes in the behavior of the division operator. This PR uses "floor division" to ensure integer results (see: https://docs.python.org/3/glossary.html#term-floor-division)

rev138 avatar Jul 03 '19 14:07 rev138

Hi, is this fixed as I am still getting in py3 floats!!

catchthemonster avatar Jun 28 '20 14:06 catchthemonster