摘要: <script> var n = 19.7532424 console.log(floatNum(n,2)) function floatNum(num, n) { if(typeof num 'number'){ num = num.toString() if(num.lastIndexOf('5 阅读全文
posted @ 2020-08-21 17:36 \面朝阳光/ 阅读(174) 评论(0) 推荐(0) 编辑
摘要: def transjson(csvpath): tableData = [] with open(csvpath,'r',encoding='utf-8') as csvfile: reader = csv.DictReader(csvfile) for row in reader: # 读取的内容 阅读全文
posted @ 2020-08-21 10:48 \面朝阳光/ 阅读(1693) 评论(0) 推荐(0) 编辑