我在php中有一個簡單的代碼,想在比特幣價值上添加3%:</PHP $price = "0.00001000"$price_format = str_replace(".", "", $price);echo ($price_format + ($price_format / 100 * 3)); // 1030?>返回我的代碼: 1030我需要的回報是: 0.0001030有誰知道我如何通過跟蹤價格的房子數量來執行此計算?
- 1 回答
- 0 關注
- 198 瀏覽
添加回答
舉報
0/150
提交
取消