Partager via


Scale.ByBigDecimal(BigDecimal) Method

Definition

Multiply numbers by an arbitrary value before formatting.

[Android.Runtime.Register("byBigDecimal", "(Ljava/math/BigDecimal;)Landroid/icu/number/Scale;", "", ApiSince=30)]
public static Android.Icu.Number.Scale? ByBigDecimal (Java.Math.BigDecimal? multiplicand);
[<Android.Runtime.Register("byBigDecimal", "(Ljava/math/BigDecimal;)Landroid/icu/number/Scale;", "", ApiSince=30)>]
static member ByBigDecimal : Java.Math.BigDecimal -> Android.Icu.Number.Scale

Parameters

multiplicand
BigDecimal

Returns

A Multiplier for passing to the setter in NumberFormatter.

Attributes

Remarks

Multiply numbers by an arbitrary value before formatting. Useful for unit conversions.

This method takes a BigDecimal; also see the version that takes a double.

Java documentation for android.icu.number.Scale.byBigDecimal(java.math.BigDecimal).

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