Shorten doesn't convert mantissa and doesn't add any suffix by default

This commit is contained in:
DarkPhoenix
2010-09-04 03:32:16 +04:00
parent 604258fff4
commit 4e6049170b

View File

@@ -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,