BigInteger.IntValueExact Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts this BigInteger to an int, checking
for lost information.
[Android.Runtime.Register("intValueExact", "()I", "GetIntValueExactHandler", ApiSince=31)]
public virtual int IntValueExact();
[<Android.Runtime.Register("intValueExact", "()I", "GetIntValueExactHandler", ApiSince=31)>]
abstract member IntValueExact : unit -> int
override this.IntValueExact : unit -> int
Returns
this BigInteger converted to an int.
- Attributes
Remarks
Converts this BigInteger to an int, checking for lost information. If the value of this BigInteger is out of the range of the int type, then an ArithmeticException is thrown.
Added in 1.8.
Java documentation for java.math.BigInteger.intValueExact().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.