Java.Math.BigDecimal.ToBigIntegerExact Method
Returns this BigDecimal as a big integer instance if it has no fractional part.

Syntax

[Android.Runtime.Register("toBigIntegerExact", "()Ljava/math/BigInteger;", "GetToBigIntegerExactHandler")]
public virtual BigInteger ToBigIntegerExact ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ArithmeticExceptionif rounding is necessary.

Remarks

Returns this BigDecimal as a big integer instance if it has no fractional part. If this BigDecimal has a fractional part, i.e. if rounding would be necessary, an ArithmeticException is thrown.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1