Percent helper round before trunc

This commit is contained in:
JonnyWong16 2018-07-06 18:15:18 -07:00
parent 2b395a7ad9
commit 8982ae83ac

View file

@ -466,7 +466,7 @@ def get_percent(value1, value2):
else:
percent = 0
return math.trunc(percent)
return math.trunc(round(percent, 0))
def hex_to_int(hex):