111
This commit is contained in:
@@ -107,8 +107,7 @@ class Coin {
|
||||
/// 格式化價格顯示
|
||||
String get formattedPrice {
|
||||
if (price >= 1000) return price.toStringAsFixed(2);
|
||||
if (price >= 1) return price.toStringAsFixed(4);
|
||||
return price.toStringAsFixed(6);
|
||||
return price.toStringAsFixed(4);
|
||||
}
|
||||
|
||||
/// 格式化漲跌幅
|
||||
|
||||
Reference in New Issue
Block a user