-
Notifications
You must be signed in to change notification settings - Fork 774
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
BC Math requirement #156
Comments
Hello, Sorry for late response. Knack |
Hi Knack, Any updates on the issue? or is there any alternate way which we can use to prevent the error? Thanks, |
@janakprajapati |
The reason why we decided to use bccomp was because PHP doesn't handle some of the edge cases when numbers are so large correctly. I'll discuss with my colleague to see what it's the best in this case. @hakimio Knack |
Fixed in v13.1.0 |
Version 10.1.0 uses the function bccomp (http://php.net/manual/en/function.bccomp.php) from BC Math in the file src\Google\Api\Ads\AdWords\Util\XmlSerializer.php
This function only works with BC Math enabled, which is not default in php. The requirement for BC Math is not documented in the README file, and seems unnecessary, because this problem could easily be solved in a way not requiring BC Math.
The text was updated successfully, but these errors were encountered: