AnsweredAssumed Answered

Comparison a string to a numeric

Question asked by avinash_k09 on Dec 9, 2015
Latest reply on Dec 10, 2015 by avinash_k09
HI, I am creating a script for error handling in Automic. In this error handling I am capturing certain values from the log file For e.g. records rejected = 2 So I am assigning the 2 value to the variable i.e. &A3#=2 (captured from log file) So I am capturing this 2 from the log. But the value is coming as string. I have converted the string 2 using CINT, but its coming as a 16 digit value. So if i am comparing if &A3 > 0 (comparison like this). its not able to compare So is there a way to compare string 2 with a numeric zero. Thanks and Regards, Avinash

Outcomes