diff --git a/visidata/type_floatsi.py b/visidata/type_floatsi.py index 808cd2e2e..d01c2b852 100644 --- a/visidata/type_floatsi.py +++ b/visidata/type_floatsi.py @@ -22,7 +22,7 @@ def floatsi(*args): if not args: return 0.0 if not isinstance(args[0], str): - return args[0] + return float(args[0]) s=args[0].strip() for i, p in enumerate(vd.si_prefixes):