When I am trying to convert a string from integer using parseint() it is not considering any leading zeros (eg: "00100100" will be converted to an integer as "100100"). The application that I am trying to build requires the leading zeros to be there. Is there any method through which I can achieve that or anything that I can do with parseint() that will keep the leading zeros.
Note: I need the output in integer format and have the input in string format.
Edit: I need to perform the boolean operation so i need those zeros. Is there any way to perform boolean operations on String or any way that I can convert it to integer and can perform the operation. Because everytime the String starts with zero the boolean operations are giving wrong results