kotlin-stdlib / kotlin / toBigInteger toBigInteger JVM 1.2 fun Int.toBigInteger(): BigInteger(source) Returns the value of this Int number as a BigInteger. JVM 1.2 fun Long.toBigInteger(): BigInteger(source) Returns the value of this Long number as a BigInteger.