I concocted a small test program that mimics the logic in util.py: ---- def testit(v): print(v) if v >= 60: print ">= 60" elif round(v) < 60: print "< 60" else: print "err"
testit(59.4) testit(59.5) testit(59.6) testit(60) ----
Output:
59.4 < 60 59.5 err 59.6 err 60 >= 60
This seems to confirm my hypothesis.
I concocted a small test program that mimics the logic in util.py:
----
def testit(v):
print(v)
if v >= 60:
print ">= 60"
elif round(v) < 60:
print "< 60"
else: print "err"
testit(59.4)
testit(59.5)
testit(59.6)
testit(60)
----
Output:
59.4
< 60
59.5
err
59.6
err
60
>= 60
This seems to confirm my hypothesis.