how to work with other base numbers in java?
int, java
Solution
If I understand you correctly you want to do this: `Integer.parseInt("10001", 2)`, which will give you 17. `Integer.toString` also accepts radix as second argument.
Doc: Integer.parseInt(String s, int radix)
Problem
Guys if the int c=10001; which is a binary value.If i want to process it like multiplying it by 10 how to do that?