摘要: var ary = new Array("111", "22", "33", "111"); console.log(arrHasvalue(ary)); //true 阅读全文
posted @ 2018-01-11 22:48 abcByme 阅读(1857) 评论(3) 推荐(0) 编辑
摘要: var arrs = ['1','2','3']; console.log(arrHasValue(1,arrs)); //true 阅读全文
posted @ 2018-01-11 22:25 abcByme 阅读(2572) 评论(0) 推荐(0) 编辑
摘要: //金额处理 var number = 1234567.35; if (parseInt(number) == number) { var money = number.toString().split(''); var unit = money[money.length - 1]; var decade = money[m... 阅读全文
posted @ 2018-01-11 14:44 abcByme 阅读(724) 评论(0) 推荐(0) 编辑
摘要: console.log('fmoney',fmoney(100.12243, 2)) //100.12 阅读全文
posted @ 2018-01-11 14:29 abcByme 阅读(671) 评论(0) 推荐(0) 编辑
摘要: console.log('obj',obj) 阅读全文
posted @ 2018-01-11 14:23 abcByme 阅读(10869) 评论(0) 推荐(0) 编辑
摘要: console.log(smalltoBIG(43533534.78)); 阅读全文
posted @ 2018-01-11 13:03 abcByme 阅读(1242) 评论(0) 推荐(0) 编辑