toInt

abstract fun toInt(): Int

Unwraps the value contained within this BigInt as a Int value.

If this BigInt value is greater than Int.MAX_VALUE or is less than Int.MIN_VALUE, an exception will be thrown.

Return

The value contained within this BigInt as a Int value.