DecimalFormat.ExponentSignAlwaysShown Property

Definition

<strong>[icu]</strong> Returns whether the sign (plus or minus) is always printed in scientific notation. -or- <strong>[icu]</strong> <strong>Scientific Notation:</strong> Sets whether the sign (plus or minus) is always to be shown in the exponent in scientific notation.

public virtual bool ExponentSignAlwaysShown { [Android.Runtime.Register("isExponentSignAlwaysShown", "()Z", "GetIsExponentSignAlwaysShownHandler", ApiSince=24)] get; [Android.Runtime.Register("setExponentSignAlwaysShown", "(Z)V", "GetSetExponentSignAlwaysShown_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isExponentSignAlwaysShown", "()Z", "GetIsExponentSignAlwaysShownHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setExponentSignAlwaysShown", "(Z)V", "GetSetExponentSignAlwaysShown_ZHandler", ApiSince=24)>]
member this.ExponentSignAlwaysShown : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

<strong>[icu]</strong> Returns whether the sign (plus or minus) is always printed in scientific notation.

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

Property setter documentation:

<strong>[icu]</strong> <strong>Scientific Notation:</strong> Sets whether the sign (plus or minus) is always to be shown in the exponent in scientific notation. For example, if this setting is enabled, the number 123000 will be printed as "1.23E+5" in locale <em>en-US</em>. The number 0.0000123 will always be printed as "1.23E-5" in locale <em>en-US</em> whether or not this setting is enabled.

This setting corresponds to the '+' in a pattern such as "0.00E+0".

Java documentation for android.icu.text.DecimalFormat.setExponentSignAlwaysShown(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