I have one value which i need ti give as an input. But after every 10-20 secs value changes from "+ve to -ve"
so what I need to do is If the value is "+ve" It should pass as it is and if it is "-ve" value should change into Positive .
what logis chould i do as the values is from Array.