js 数值项目的格式化函数代码
实现代码如下://-------------------------------------------- // 删除千分点。 //-------------------------------------------- function removeComma(number) { var num
实现代码如下://-------------------------------------------- // 删除千分点。 //-------------------------------------------- function removeComma(number) { var num
'****************************** function comma(str)if not(isnumeric(str)) or str = 0 thenresult = 0elseif len(fix(str)) 0 thendec = mid(str,pos)end