Home  >  Article  >  Backend Development  >  整数运算有关问题

整数运算有关问题

WBOY
WBOYOriginal
2016-06-13 12:06:30940browse

整数运算问题
$a = '2912478533' % 1024;

如何在32位系统得到正确的结构
------解决思路----------------------
echo bcmod('2912478533', '1024');

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn