改进 保留 4 位

This commit is contained in:
iVampireSP.com 2022-11-23 21:21:56 +08:00
parent 4856073401
commit 40e9e231a3
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -332,7 +332,7 @@ public function cost($amount = null, $auto = true): bool
$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);