다음을 통해 공유


DecimalFormat.Multiplier Property

Definition

Returns the multiplier being applied to numbers before they are formatted. -or- Sets a number that will be used to multiply all numbers prior to formatting.

public virtual int Multiplier { [Android.Runtime.Register("getMultiplier", "()I", "GetGetMultiplierHandler", ApiSince=24)] get; [Android.Runtime.Register("setMultiplier", "(I)V", "GetSetMultiplier_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getMultiplier", "()I", "GetGetMultiplierHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setMultiplier", "(I)V", "GetSetMultiplier_IHandler", ApiSince=24)>]
member this.Multiplier : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the multiplier being applied to numbers before they are formatted.

Java documentation for android.icu.text.DecimalFormat.getMultiplier().

Property setter documentation:

Sets a number that will be used to multiply all numbers prior to formatting. For example, when formatting percents, a multiplier of 100 can be used.

If a percent or permille sign is specified in the pattern, the multiplier is automatically set to 100 or 1000, respectively.

If the number specified here is a power of 10, a more efficient code path will be used.

Java documentation for android.icu.text.DecimalFormat.setMultiplier(int).

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