Commit 0b714767 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 8e9364d7
......@@ -244,7 +244,7 @@ async function run() {
if (arrDate[0].sum === 0)
return
console.log('Balance ->', balance - lastBalance)
let worth = (balance - lastBalance) / (arrDate[0].sum-100)
let worth = (balance - lastBalance) / (arrNew[0].sum-1000)
console.log('Worth ->', worth)
......
......@@ -167,6 +167,7 @@ async function run() {
// await createfileADV(JSON.stringify(z))
await lastCheck(arrNew[0].sum, balance - lastBalance, base, arr5)
}
console.log(arr)
// let start=false
// let arr2=[]
// for (let i=0;i<arr.length;i++)
......@@ -210,7 +211,7 @@ async function run() {
// }
//
// }
return run()
// return run()
}
function addDate(data) {
......
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