trim()移除空格 parInt() 转换为整数 parFloat()取浮点数 toFixed(2) 保留两位
转载于:https://www.cnblogs.com/eric-gms/p/5594539.html