Commit 355e4b2b authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 57300af9
...@@ -38,10 +38,9 @@ function grabData(data) ...@@ -38,10 +38,9 @@ function grabData(data)
{ {
// console.log(data) // console.log(data)
let arr=[] let arr=[]
for (let i=0;i<data.length;i++) for (let i=1;i<data.length;i++)
{ {
if (i ===0 && data.length >10)
continue
try { try {
let d=data[i].split(',') let d=data[i].split(',')
let profit = parseFloat(d[7]) let profit = parseFloat(d[7])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment