Update Host.php
This commit is contained in:
parent
bc27fa367c
commit
faa63cbf54
@ -318,7 +318,7 @@ public function cost($amount = null, $auto = true): bool
|
|||||||
|
|
||||||
// 如果太小,则重置为 0.9999
|
// 如果太小,则重置为 0.9999
|
||||||
if ($real_price < 0.0001) {
|
if ($real_price < 0.0001) {
|
||||||
$real_price = 0.9999;
|
$real_price = 0.0001;
|
||||||
}
|
}
|
||||||
|
|
||||||
$real_price = round($real_price ?? 0, 4);
|
$real_price = round($real_price ?? 0, 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user