toInt method

int toInt ()

Returns this BigInt as an int.

If the number does not fit clamps to the max (or min) integer.

Warning: the clamping is not yet implemented and the behavior of this function will change in future versions of this library.

Implementation

int toInt();