未验证 提交 b6a8c75c 编写于 作者: T Terry 提交者: GitHub

Merge pull request #69 from Axinblog/master

修改Page Currency 子服务,高精度bcdiv
......@@ -161,7 +161,7 @@ class Currency extends Service
if (isset($this->currencys[$current_currency]['rate'])) {
$rate = $this->currencys[$current_currency]['rate'];
if ($rate) {
return bcmul($current_price, $rate, 2);
return bcdiv($current_price, $rate, 2);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册