mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 20:35:13 +00:00
fiat_e: set precision to 0.01
This commit is contained in:
parent
91b4019d2e
commit
96017fe530
1 changed files with 1 additions and 1 deletions
|
@ -658,6 +658,6 @@ class Plugin(BasePlugin):
|
|||
return
|
||||
fiat_amount = self.exchanger.exchange(Decimal(btc_amount)/Decimal(100000000), self.fiat_unit())
|
||||
if fiat_amount is not None:
|
||||
self.fiat_e.setText(str(fiat_amount))
|
||||
self.fiat_e.setText("%.2f"%fiat_amount)
|
||||
self.btc_e.textEdited.connect(btc_changed)
|
||||
self.win.send_grid.addWidget(self.fiat_e, 4, 3, Qt.AlignHCenter)
|
||||
|
|
Loading…
Add table
Reference in a new issue