改进 保留 4 位
This commit is contained in:
parent
4856073401
commit
40e9e231a3
@ -332,7 +332,7 @@ public function cost($amount = null, $auto = true): bool
|
|||||||
$hosts_balances[$this->id] = $real_price;
|
$hosts_balances[$this->id] = $real_price;
|
||||||
}
|
}
|
||||||
|
|
||||||
$hosts_balances[$this->id] = round($hosts_balances[$this->id], 8);
|
$hosts_balances[$this->id] = round($hosts_balances[$this->id], 4);
|
||||||
|
|
||||||
Cache::put($month_cache_key, $hosts_balances, 604800);
|
Cache::put($month_cache_key, $hosts_balances, 604800);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user