다음을 통해 공유


NumberFormat.MinimumFractionDigits Property

Definition

Returns the minimum number of digits allowed in the fraction portion of a number. -or- Sets the minimum number of digits allowed in the fraction portion of a number.

public virtual int MinimumFractionDigits { [Android.Runtime.Register("getMinimumFractionDigits", "()I", "GetGetMinimumFractionDigitsHandler")] get; [Android.Runtime.Register("setMinimumFractionDigits", "(I)V", "GetSetMinimumFractionDigits_IHandler")] set; }
[<get: Android.Runtime.Register("getMinimumFractionDigits", "()I", "GetGetMinimumFractionDigitsHandler")>]
[<set: Android.Runtime.Register("setMinimumFractionDigits", "(I)V", "GetSetMinimumFractionDigits_IHandler")>]
member this.MinimumFractionDigits : int with get, set

Property Value

the minimum number of digits

Attributes

Remarks

Property getter documentation:

Returns the minimum number of digits allowed in the fraction portion of a number.

Java documentation for java.text.NumberFormat.getMinimumFractionDigits().

Property setter documentation:

Sets the minimum number of digits allowed in the fraction portion of a number. minimumFractionDigits must be &le; maximumFractionDigits. If the new value for minimumFractionDigits exceeds the current value of maximumFractionDigits, then maximumFractionDigits will also be set to the new value

Java documentation for java.text.NumberFormat.setMinimumFractionDigits(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