convert biginteger to string java

Solutions on MaxInterview for convert biginteger to string java by the best coders in the world

showing results for - "convert biginteger to string java"
Addie
03 Jan 2020
1 // create 2 String objects
2      String s1, s2;
3
4      bi1 = new BigInteger("1234");
5      bi2 = new BigInteger("-1234");
6
7      // assign String value of bi1, bi2 to s1, s2
8      s1 = bi1.toString();
9      s2 = bi2.toString();
10