bcdiv — 将两个高精度数字相除
bcmod — 求高精度数字余数
bcmul — 将两个高精度数字相乘
bcpow — 求高精度数字乘方
bcpowmod — 求高精度数字乘方求模,数论里非常常用
bcscale — 配置默认小数点位数,相当于就是Linux bc中的”scale=”
bcsqrt — 求高精度数字平方根
bcsub — 将两个高精度数字相减
可以参考手册去查这些函数的应用。
bcmath的安装:
yum install php-bcmathReload php-fpm,nginx
systemctl reload nginx.service
systemctl reload php-fpm.service重新打开页面,恢复正常。
以上就是php 不支持bccomp怎么办的详细内容!
查看更多关于php 不支持bccomp怎么办的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did54640
php 不支持bccomp怎么办
阅读:42次