Commit 5a4b3113 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a25b4fa1
......@@ -21,8 +21,11 @@ async function init() {
let value=parseFloat(plat[plat.length-1])
let config=plat[plat.length-2]
let last=config + ' ' + value*-1
if (com[i].type.includes(last)) {
console.log(com[i])
let type=com[i].type
type =type[type.length-2] +' '+parseFloat(type[type.length-1])
console.log(type)
if (type === last) {
//console.log(com[i])
arr.push(com[i])
}
......
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