JS去掉字符串中所有的逗号 1、去掉所有字符串里面所有的逗号,eg:123,111,222.00——123111222.00functionclear(str){str=str.replace(/,/ 去掉字符串中的逗号