BigInteger: toString()
import java.math.BigInteger; public class Main { public static void main(String[] argv) throws Exception { BigInteger bi = new BigInteger("1023"); String s = bi.toString(); } }