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?
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With