📜  将 biginteger 转换为字符串 java 代码示例

📅  最后修改于: 2022-03-11 14:52:19.884000             🧑  作者: Mango

代码示例1
// create 2 String objects
      String s1, s2;

      bi1 = new BigInteger("1234");
      bi2 = new BigInteger("-1234");

      // assign String value of bi1, bi2 to s1, s2
      s1 = bi1.toString();
      s2 = bi2.toString();