替代PHP两个大数相乘会有精度损失

1.PHP语言,当两个大数相乘时,会有精度损失问题
此种情况下,可以使用,php内置函数计算,返回字符串结果
$number_str = bcmul((string)$num, (string)$num1);

原文地址:https://www.cnblogs.com/smilem/p/13169952.html