def format_satoshis_plain(x, decimal_point=8):
 scale_factor = pow(10, decimal_point)
 return '{:.8f}'.format((Decimal(x) / scale_factor)).rstrip('0').rstrip('.')

def format_satoshis_plain ( x , decimal_point = 8 ) : scale_factor = pow ( 10 , decimal_point ) return '{:.8f}' . format ( ( Decimal ( x ) / scale_factor ) ) . rstrip ( '0' ) . rstrip ( '.' )
display a satoshi amount scaled .