我在php中有一個(gè)簡(jiǎn)單的代碼,想在比特幣價(jià)值上添加3%:</PHP $price = "0.00001000"$price_format = str_replace(".", "", $price);echo ($price_format + ($price_format / 100 * 3)); // 1030?>返回我的代碼: 1030我需要的回報(bào)是: 0.0001030有誰(shuí)知道我如何通過(guò)跟蹤價(jià)格的房子數(shù)量來(lái)執(zhí)行此計(jì)算?
- 1 回答
- 0 關(guān)注
- 199 瀏覽
添加回答
舉報(bào)
0/150
提交
取消