diff --git a/nvitop/cli.py b/nvitop/cli.py index b3fe85a..3d3dec0 100644 --- a/nvitop/cli.py +++ b/nvitop/cli.py @@ -32,7 +32,7 @@ def parse_arguments() -> argparse.Namespace: ) def posint(argstring: str) -> int: - num = int(argstring) + num = float(argstring) if num <= 0: raise ValueError return num