Partager via


BigDecimal.ToBigIntegerExact Method

Definition

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

[Android.Runtime.Register("toBigIntegerExact", "()Ljava/math/BigInteger;", "GetToBigIntegerExactHandler")]
public virtual Java.Math.BigInteger? ToBigIntegerExact ();
[<Android.Runtime.Register("toBigIntegerExact", "()Ljava/math/BigInteger;", "GetToBigIntegerExactHandler")>]
abstract member ToBigIntegerExact : unit -> Java.Math.BigInteger
override this.ToBigIntegerExact : unit -> Java.Math.BigInteger

Returns

this BigDecimal converted to a BigInteger.

Attributes

Exceptions

if rounding is necessary.

Remarks

Java documentation for java.math.BigDecimal.toBigIntegerExact().

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