So basically, i'm getting two really really big ID's from different resources (external resource and database), and I need to compare them somehow. If they match, I need to break the action.
Seems simple enough, but PHP is converting them to floats (looks开发者_StackOverflow something like that 6.2983963148698E+14) and they never seem to match then.
What should I do? I tried googling for some type of a big integer in PHP, or casting them as strings. That did not work.
Bare in mind, I'm not really experienced at this.
Thanks for your help.
Have you tried the BC Math functions?
精彩评论