我在使用PHP gmp函数。
我想做以下数学陈述:
$profit_percent = 2405.665;
$bill_line['purchase_average_value'] = 36000000000;
$r = (1 + ($profit_percent / 100));
$r2 = $bill_line['purchase_average_value'];
$unit_price_with_profit = gmp_mul($r, $r2);但会发生以下错误:
gmp_mul():无法将变量转换为GMP错误类型
发布于 2019-02-19 09:56:07
https://stackoverflow.com/questions/54763072
复制相似问题