Skip to content

Commit

Permalink
Fix currency
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Dec 5, 2022
1 parent 72ce91f commit 9caad58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QuickInfo/Processors/Converters/Currency.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private static double GetRateFromPrimary(string to)
var rate = ExchangeRates.Instance.Get(to);
if (rate == null)
{
return 1.0;
return 0.0;
}

return rate.rate;
Expand Down

0 comments on commit 9caad58

Please sign in to comment.