Integers in php are smaller then the BIGINT in MySQL. So either pass the numbers as strings or format them the right way. PHP automatically converts too big integers to floats, as they can hold higher numbers. There is an extension to do math with arbitrary precision, however.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.