hi friends... i need to compare two values , but i fails.....
value 1 : it is coming from database directly... the value is ( 0 , 1 or 4)any1
value 2 : it is the return value from a function ... the value is (0 or 1 only)
i want to compare if (value1 <= value2)
but it does not compares.. cz it takes value1 as string ...
so in cast the type into int.. but still it have same problem....
it works if i write the condiion : if(value1 == value2)
it works... but i need comparison of less than...



Reply With Quote




)

Bookmarks