wrong length
This commit is contained in:
parent
1c05549e86
commit
b08f98524c
|
@ -32,7 +32,7 @@ def format_satoshis(x):
|
||||||
s = str( Decimal(x) /100000000 )
|
s = str( Decimal(x) /100000000 )
|
||||||
if not '.' in s: s += '.'
|
if not '.' in s: s += '.'
|
||||||
p = s.find('.')
|
p = s.find('.')
|
||||||
s += " "*( 8 - ( len(s) - p ))
|
s += " "*( 9 - ( len(s) - p ))
|
||||||
return s
|
return s
|
||||||
|
|
||||||
def numbify(entry, is_int = False):
|
def numbify(entry, is_int = False):
|
||||||
|
|
Loading…
Reference in New Issue