Manisekar
Each number system has exactly 10 different digits.
Originally posted by Manisekar Chinnasami:
int a, b=1111111,c=100000,d;
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Manisekar
100 & 111 = 100
int c = 1011111;
int b = Integer.parseInt(c,2);
how can i convert int c to String ???
Manisekar
IS THERE ANY WAY TO INITIALISE THE NUMBERS AS BINARY ??(i think it is not there in Java)
Manisekar
Originally posted by Manisekar Chinnasami:
finally i have got the solution for my problem ...
bitWiseCheck = Integer.parseInt(Integer.toBinaryString((Integer.parseInt(Integer.toString(binVal[j]),2)) & (Integer.parseInt(Integer.toString(vsVal),2))));
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |