mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-08 11:57:52 +08:00
fix a bug
This commit is contained in:
parent
69209f75d3
commit
87f7c500c1
@ -120,7 +120,7 @@ class Utils
|
||||
* @param int $precision 精度
|
||||
* @return int
|
||||
*/
|
||||
public static function shortenNumber(int|string $n, int $precision = 1): int
|
||||
public static function shortenNumber(int|string $n, int $precision = 1): int|string
|
||||
{
|
||||
if ($n < 1e+3) {
|
||||
return number_format($n);
|
||||
|
Loading…
Reference in New Issue
Block a user