다음을 통해 공유


BigDecimal.ToBigIntegerExact Method

Definition

Converts this BigDecimal to a java.math.BigInteger.

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

Returns

The java.math.BigInteger equal in value to the integer part of this BigDecimal.

Attributes

Remarks

Converts this BigDecimal to a java.math.BigInteger.

An exception is thrown if the decimal part (if any) is non-zero.

Java documentation for android.icu.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