Commit 4e7ee58e authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a9c5a23c
...@@ -151,10 +151,10 @@ async function run() { ...@@ -151,10 +151,10 @@ async function run() {
// console.log('Balance ->',balance) // console.log('Balance ->',balance)
// console.log('Worth ->',arrNew[0]) // console.log('Worth ->',arrNew[0])
let worth = (balance - lastBalance) / (arrDate[0].sum-100) let worth = (balance - lastBalance) / (arrDate[0].sum-1000)
if (worth < base) { if (worth < base) {
base = worth base = worth
console.log(arrDate[0].sum-100, balance - lastBalance, worth) console.log(arrDate[0].sum-1000, balance - lastBalance, worth)
let arr5 = [] let arr5 = []
for (let f = 0; f < size; f++) { for (let f = 0; f < size; f++) {
arr5.push(com[f]) arr5.push(com[f])
......
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