保留 5 位
This commit is contained in:
parent
6a30284bd9
commit
6c152a2d43
@ -99,6 +99,8 @@ public function cost($price = null, $auto = true)
|
||||
$this->price = $price;
|
||||
}
|
||||
|
||||
$this->price = round($this->price, 5);
|
||||
|
||||
$amount = $price / config('drops.rate') + 1;
|
||||
|
||||
// if drops <= price
|
||||
|
Loading…
Reference in New Issue
Block a user