BigInteger.LongValueExact Method

Definition

Converts this BigInteger to a long, checking for lost information.

[Android.Runtime.Register("longValueExact", "()J", "GetLongValueExactHandler", ApiSince=31)]
public virtual long LongValueExact ();
[<Android.Runtime.Register("longValueExact", "()J", "GetLongValueExactHandler", ApiSince=31)>]
abstract member LongValueExact : unit -> int64
override this.LongValueExact : unit -> int64

Returns

Int64

this BigInteger converted to a long.

Attributes

Remarks

Java documentation for java.math.BigInteger.longValueExact().

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.

Applies to