從這段代碼來看:$total = 750;number_format($total, 2, ',', ' ').'<sup>$</sup>';我明白了750,00$。我怎樣才能移除該,00零件?謝謝。
1 回答

肥皂起泡泡
TA貢獻1829條經驗 獲得超6個贊
要從結果中刪除。您,00必須將代碼更改為
$total = 750;
number_format($total, 0, ',', ' ').'<sup>$</sup>';
- 1 回答
- 0 關注
- 135 瀏覽
添加回答
舉報
0/150
提交
取消