我在php中有一个简单的代码,想在比特币价值上添加3%:</PHP $price = "0.00001000"$price_format = str_replace(".", "", $price);echo ($price_format + ($price_format / 100 * 3)); // 1030?>返回我的代码: 1030我需要的回报是: 0.0001030有谁知道我如何通过跟踪价格的房子数量来执行此计算?
1 回答
- 1 回答
- 0 关注
- 182 浏览
添加回答
举报
0/150
提交
取消