DecimalFormat.ScientificNotation 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.
<strong>[icu]</strong> Returns whether scientific (exponential) notation is enabled on this formatter. -or- <strong>[icu]</strong> <strong>Scientific Notation:</strong> Sets whether this formatter should print in scientific (exponential) notation.
public virtual bool ScientificNotation { [Android.Runtime.Register("isScientificNotation", "()Z", "GetIsScientificNotationHandler", ApiSince=24)] get; [Android.Runtime.Register("setScientificNotation", "(Z)V", "GetSetScientificNotation_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isScientificNotation", "()Z", "GetIsScientificNotationHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setScientificNotation", "(Z)V", "GetSetScientificNotation_ZHandler", ApiSince=24)>]
member this.ScientificNotation : bool with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
<strong>[icu]</strong> Returns whether scientific (exponential) notation is enabled on this formatter.
Java documentation for android.icu.text.DecimalFormat.isScientificNotation()
.
Property setter documentation:
<strong>[icu]</strong> <strong>Scientific Notation:</strong> Sets whether this formatter should print in scientific (exponential) notation. For example, if scientific notation is enabled, the number 123000 will be printed as "1.23E5" in locale <em>en-US</em>. A locale-specific symbol is used as the exponent separator.
Calling df.setScientificNotation(true)
is functionally equivalent to calling df.setMinimumExponentDigits(1)
.
Java documentation for android.icu.text.DecimalFormat.setScientificNotation(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.