comparing two values in a column and then do arithmetic

2007-07-22 Thread venkateshwar
Hi, I have a large set of values like this in two different columns,both the values are variables.. I need to check if first value(ValA) is same in any of the consecutive values and then find the difference between valB of those two matched valA! and the next instant the difference should be bet

hex conversion

2007-07-18 Thread venkateshwar
hello all, i have a hex value which needs to be checked if a particular bit is set in that string. for example, i need to check if 12th bit is set. i tried doing mask(0x1000) with my input value i receive, so that only if 12th bit is 1, will the answer be onebut can i do a direct comparison a