Browse Source

Specify digits of precision to avoid scientific notation

pull/140/head
Duke Leto 4 years ago
parent
commit
8df45d7047
  1. 2
      src/rpc.cpp

2
src/rpc.cpp

@ -698,7 +698,7 @@ void RPC::getInfoThenRefresh(bool force) {
(isSyncing ? ("/" % QString::number(progress*100, 'f', 2) % "%") : QString()) %
") " %
" Lag: " % QString::number(blockNumber - notarized) %
", " % "HUSH" % "=" % QString::number( (double) s->get_price(ticker) ) % " " % QString::fromStdString(ticker) %
", " % "HUSH" % "=" % QString::number( (double) s->get_price(ticker),'f',6) % " " % QString::fromStdString(ticker) %
" " % extra;
main->statusLabel->setText(statusText);

Loading…
Cancel
Save