Share via


NumberFormat.MaximumFractionDigits Property

Definition

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

public virtual int MaximumFractionDigits { [Android.Runtime.Register("getMaximumFractionDigits", "()I", "GetGetMaximumFractionDigitsHandler")] get; [Android.Runtime.Register("setMaximumFractionDigits", "(I)V", "GetSetMaximumFractionDigits_IHandler")] set; }
[<get: Android.Runtime.Register("getMaximumFractionDigits", "()I", "GetGetMaximumFractionDigitsHandler")>]
[<set: Android.Runtime.Register("setMaximumFractionDigits", "(I)V", "GetSetMaximumFractionDigits_IHandler")>]
member this.MaximumFractionDigits : int with get, set

Property Value

the maximum number of digits.

Attributes

Remarks

Property getter documentation:

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

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

Property setter documentation:

Sets the maximum number of digits allowed in the fraction portion of a number. maximumFractionDigits must be &ge; minimumFractionDigits. If the new value for maximumFractionDigits is less than the current value of minimumFractionDigits, then minimumFractionDigits will also be set to the new value.

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