Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

average 方法返回会存在负数的情况 #1

Open
krissss opened this issue Sep 5, 2022 · 0 comments
Open

average 方法返回会存在负数的情况 #1

krissss opened this issue Sep 5, 2022 · 0 comments

Comments

@krissss
Copy link
Owner

krissss commented Sep 5, 2022

$result = BCSummary::create(['scale' => 0])->average(1, ['A' => 1, 'B' => 1, 'C' => 1]);
echo $result; // ['A' => 1, 'B' => 1, 'C' => -1]

均分规则中出现负数感觉不在合理范围内

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant