This commit is contained in:
chfw 2019-03-16 14:28:25 +00:00
parent cb5bc7839d
commit 230b628b39
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ def throw_exception(value):
def ods_float_value(value):
if value > constants.MAX_INTEGER:
if int(value) > int(constants.MAX_INTEGER):
raise exceptions.IntegerAccuracyLossError("%s is too big" % value)
return value