Skip to content

Commit

Permalink
Frontend.Console: use fiat rounding in askUsdAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
aarani committed Dec 10, 2021
1 parent 897ef71 commit 07f7983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GWallet.Frontend.Console/UserInteraction.fs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ module UserInteraction =
match maybeTime with
| None -> String.Empty
| Some(time) -> sprintf " (as of %s)" (Formatting.ShowSaneDate time)
let exchangeMsg = sprintf "%s USD per %A%s" (usdValue.ToString())
let exchangeMsg = sprintf "%s USD per %A%s" (Formatting.DecimalAmountRounding CurrencyType.Fiat usdValue)
currency
exchangeRateDateMsg
let etherAmount = usdAmount / usdValue
Expand Down

0 comments on commit 07f7983

Please sign in to comment.