DecimalFormat.DecimalSeparatorAlwaysShown Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows you to get the behavior of the decimal separator with integers. -or- Allows you to set the behavior of the decimal separator with integers.
public virtual bool DecimalSeparatorAlwaysShown { [Android.Runtime.Register("isDecimalSeparatorAlwaysShown", "()Z", "GetIsDecimalSeparatorAlwaysShownHandler")] get; [Android.Runtime.Register("setDecimalSeparatorAlwaysShown", "(Z)V", "GetSetDecimalSeparatorAlwaysShown_ZHandler")] set; }
[<get: Android.Runtime.Register("isDecimalSeparatorAlwaysShown", "()Z", "GetIsDecimalSeparatorAlwaysShownHandler")>]
[<set: Android.Runtime.Register("setDecimalSeparatorAlwaysShown", "(Z)V", "GetSetDecimalSeparatorAlwaysShown_ZHandler")>]
member this.DecimalSeparatorAlwaysShown : bool with get, set
Property Value
true
if the decimal separator is always shown;
false
otherwise
- Attributes
Remarks
Property getter documentation:
Allows you to get the behavior of the decimal separator with integers. (The decimal separator will always appear with decimals.)
Example: Decimal ON: 12345 → 12345.; OFF: 12345 → 12345
Java documentation for java.text.DecimalFormat.isDecimalSeparatorAlwaysShown()
.
Property setter documentation:
Allows you to set the behavior of the decimal separator with integers. (The decimal separator will always appear with decimals.)
Example: Decimal ON: 12345 → 12345.; OFF: 12345 → 12345
Java documentation for java.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.