保留 5 位小数
This commit is contained in:
parent
f290eae279
commit
6a30284bd9
@ -83,6 +83,9 @@ public function getDrops($user_id = null)
|
||||
'drops' => 0,
|
||||
]);
|
||||
|
||||
// 保留 5 位
|
||||
$drops['drops'] = round($drops['drops'], 5);
|
||||
|
||||
return $drops['drops'];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user