保留 5 位小数

This commit is contained in:
iVampireSP.com 2022-10-13 12:35:35 +08:00
parent f290eae279
commit 6a30284bd9
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -83,6 +83,9 @@ public function getDrops($user_id = null)
'drops' => 0,
]);
// 保留 5 位
$drops['drops'] = round($drops['drops'], 5);
return $drops['drops'];
}