📜  从数字中删除逗号 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:42.400000             🧑  作者: Mango

代码示例1
$val = "1,4552.35";
$val = str_replace(',', '', $val);

echo $val;

//Output will be 14552.35

This will remove comma(,) from the string and echo the output