From aeb51e89c1103836b2fd991a0ac789354465b55e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 22 Sep 2017 08:15:28 +0200 Subject: o Properly implementing EeVal as a value parser. Still missing units. --- src/ee/formatting/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ee/formatting') diff --git a/src/ee/formatting/__init__.py b/src/ee/formatting/__init__.py index c2b5688..4527a96 100644 --- a/src/ee/formatting/__init__.py +++ b/src/ee/formatting/__init__.py @@ -72,7 +72,7 @@ def eng_str(value, unit=None): s = '0' + (' ' + unit if unit is not None else '') else: big = ['k', 'M', 'G', 'T'] - small = ['m', 'u', 'p'] + small = ['m', 'u', 'n', 'p'] if unit is not None: big = [' ' + unit] + [' ' + x + unit for x in big] -- cgit v1.2.3