Partager via


FormattedNumber.ToBigDecimal Method

Definition

Export the formatted number as a BigDecimal.

[Android.Runtime.Register("toBigDecimal", "()Ljava/math/BigDecimal;", "GetToBigDecimalHandler", ApiSince=30)]
public virtual Java.Math.BigDecimal? ToBigDecimal ();
[<Android.Runtime.Register("toBigDecimal", "()Ljava/math/BigDecimal;", "GetToBigDecimalHandler", ApiSince=30)>]
abstract member ToBigDecimal : unit -> Java.Math.BigDecimal
override this.ToBigDecimal : unit -> Java.Math.BigDecimal

Returns

A BigDecimal representation of the formatted number.

Attributes

Remarks

Export the formatted number as a BigDecimal. This endpoint is useful for obtaining the exact number being printed after scaling and rounding have been applied by the number formatting pipeline.

Java documentation for android.icu.number.FormattedNumber.toBigDecimal().

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