Could anyone help me in converting an 18 digit string numeric to BigInteger in java
ie;a string "0x9999999999999999" should appear as 0x9999999999999999 numeric value.
"0x9999999999999999"
0x9999999999999999
You can specify the base in BigInteger constructor.
BigInteger bi = new BigInteger("9999999999999999", 16); String s = bi.toString(16);
2.1m questions
2.1m answers
60 comments
57.0k users