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

[2022-06-07 14:09:32] Implicit conversion from float 1.2 to int loses precision {"exception":"ErrorException: Implicit conversion from float 1.2 to int loses precision in D:\\owenzhang\\webman-admin\\app\\admin\\controller\\Login.php:142 #4

Open
owenzhang24 opened this issue Jun 7, 2022 · 1 comment

Comments

@owenzhang24
Copy link

[2022-06-07 14:09:32] Implicit conversion from float 1.2 to int loses precision {"exception":"ErrorException: Implicit conversion from float 1.2 to int loses precision in D:\owenzhang\webman-admin\app\admin\controller\Login.php:142
解决办法
image

@cgisky
Copy link

cgisky commented Jun 11, 2022

$x = $fontSize * ($index + 1) * mt_rand(12, 16)/10 * 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

2 participants