JS 常用特殊处理

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

posted on 2016-06-17 16:57  月&&生  阅读(150)  评论(0编辑  收藏  举报