mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
parentheses
This commit is contained in:
@@ -172,7 +172,7 @@ abstract class BuySellViewModelBase extends WalletChangeListenerViewModel with S
|
||||
}
|
||||
|
||||
Money? amountForQuote(Quote quote) => Money.trySafeParse(
|
||||
(double.tryParse(fiatAmount) ?? 0 / quote.rate).toStringAsFixed(min(20, cryptoCurrency.decimals)),
|
||||
((double.tryParse(fiatAmount) ?? 0) / quote.rate).toStringAsFixed(min(20, cryptoCurrency.decimals)),
|
||||
cryptoCurrency);
|
||||
|
||||
Money? fiatAmountForQuote(Quote quote) {
|
||||
|
||||
Reference in New Issue
Block a user