Skip to content

Commit

Permalink
Fixed display of market values
Browse files Browse the repository at this point in the history
  • Loading branch information
metaspartan committed Oct 2, 2017
1 parent 7503976 commit 4662285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/marketbrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if (what == kBaseUrl) // Denarius Price
// QNetworkReply is a QIODevice. So we read from it just like it was a file
QString denarius = finished->readAll();
denarius2 = (denarius.toDouble());
denarius = QString::number(denarius2);
denarius = QString::number(denarius2, 'f', 2);

if(denarius > denariusp)
{
Expand Down Expand Up @@ -151,7 +151,7 @@ if (what == kBaseUrl3) // Denarius BTC Price
// QNetworkReply is a QIODevice. So we read from it just like it was a file
QString dnrbtc = finished->readAll();
dnrbtc2 = (dnrbtc.toDouble());
dnrbtc = QString::number(dnrbtc2);
dnrbtc = QString::number(dnrbtc2, 'f', 8);

if(dnrbtc > dnrbtcp)
{
Expand Down

0 comments on commit 4662285

Please sign in to comment.