diff --git a/impatient b/impatient index e8d595e..cad3eb1 100755 --- a/impatient +++ b/impatient @@ -22,9 +22,9 @@ def parse_value(v): suffix = v[-1].upper() if suffix in SUFFIXES: exponent = 3*(SUFFIXES.find(suffix)+1) - return int(v[:-1])*(10**exponent) + return float(v[:-1])*(10**exponent) else: - return int(v) + return float(v) def display_value(v): suffix = ''