From 4e6049170b21e56de8fc455c9bfdbf51f0e22802 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 4 Sep 2010 03:32:16 +0400 Subject: [PATCH] Shorten doesn't convert mantissa and doesn't add any suffix by default --- util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.py b/util.py index a1fbd9fdb..d0344cd6c 100644 --- a/util.py +++ b/util.py @@ -1,4 +1,4 @@ -def shorten(val, prec=4, lowest=-6, highest=9): +def shorten(val, prec=4, lowest=0, highest=0): def process(val, prec): # Check if we have no integer and some fraction after bunch of zeroes,