Updated on 2026-08-14
This commit is contained in:
parent
e1999ed34f
commit
2ba21aab5c
5 changed files with 25 additions and 9 deletions
|
|
@ -290,10 +290,10 @@ public class BtcCashEngine extends CoinEngine {
|
|||
}
|
||||
|
||||
public static String getAmountEquivalentDescriptionBTC(Double amount, float rate) {
|
||||
if (rate > 0) {
|
||||
if ((rate > 0) && (amount > 0)) {
|
||||
return String.format("≈ USD %.2f", amount * rate);
|
||||
} else {
|
||||
return "≈ USD ---";
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue