函式:bcdiv()


bcdiv

将二个高精确度数字相除。

语法: string bcdiv(string left operand, string right operand, int [scale]);

传回值: 字串

函式种类: 数学运算

内容说明

此函式将二个高精确度的数字相除,传入二个字串,以左边的数字字串 (left operand) 除以右边的 (right operand) 数字字串。结果亦以字串传回。scale 是一个可有可无的选项,表示传回值的小数点后所需的位数。

参考

bcmul()  


[ 上一页 下一页 ]