Java tutorial
//package com.java2s; import java.math.BigInteger; public class Main { public static Integer bigIntStringToInt(String integer, int radix) { return new BigInteger(integer, radix).intValue(); } }