diff options
Diffstat (limited to 'python/m5/convert.py')
-rw-r--r-- | python/m5/convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/m5/convert.py b/python/m5/convert.py index 2ebe93889..2f69645b9 100644 --- a/python/m5/convert.py +++ b/python/m5/convert.py @@ -60,7 +60,7 @@ def toInteger(value): elif value.endswith('f'): result = int(value[:-1]) * femto else: - result = int(value) + result = int(float(value)) return result |