Compartilhar via


BigDecimal.UnscaledValue Method

Definition

Returns the number as a BigInteger after removing the scale.

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

Returns

The java.math.BigInteger equal in value to this BigDecimal multiplied by ten to the power of this.scale().

Attributes

Remarks

Returns the number as a BigInteger after removing the scale. That is, the number is expressed as a plain number, any decimal point is then removed (retaining the digits of any decimal part), and the result is then converted to a BigInteger.

Java documentation for android.icu.math.BigDecimal.unscaledValue().

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