PHP 将超长数值转换为字符串

$num=9559980799976753217;

输出变成了9.55998079998E+18 这种科学计数

$contractId=str_replace(",","",number_format($contractId));



引用:https://segmentfault.com/q/1010000002963946

你可能感兴趣的:(php,云合同)