DecimalFormat.DecimalSeparatorAlwaysShown Property

Definition

Returns whether the decimal separator is shown on integers. -or- <strong>Separators:</strong> Sets whether the decimal separator (a period in <em>en-US</em>) is shown on integers.

public virtual bool DecimalSeparatorAlwaysShown { [Android.Runtime.Register("isDecimalSeparatorAlwaysShown", "()Z", "GetIsDecimalSeparatorAlwaysShownHandler", ApiSince=24)] get; [Android.Runtime.Register("setDecimalSeparatorAlwaysShown", "(Z)V", "GetSetDecimalSeparatorAlwaysShown_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isDecimalSeparatorAlwaysShown", "()Z", "GetIsDecimalSeparatorAlwaysShownHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setDecimalSeparatorAlwaysShown", "(Z)V", "GetSetDecimalSeparatorAlwaysShown_ZHandler", ApiSince=24)>]
member this.DecimalSeparatorAlwaysShown : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether the decimal separator is shown on integers.

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

Property setter documentation:

<strong>Separators:</strong> Sets whether the decimal separator (a period in <em>en-US</em>) is shown on integers. For example, if this setting is turned on, formatting 123 will result in "123." with the decimal separator.

This setting can be specified in the pattern for integer formats: "#,##0." is an example.

Java documentation for android.icu.text.DecimalFormat.setDecimalSeparatorAlwaysShown(boolean).

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