JS 常用特殊处理

it2022-05-05  95

trim()移除空格 parInt() 转换为整数 parFloat()取浮点数 toFixed(2) 保留两位

转载于:https://www.cnblogs.com/eric-gms/p/5594539.html


最新回复(0)