ScientificNotation.WithExponentSignDisplay Method
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.
Sets whether to show the sign on positive and negative exponents in scientific notation.
[Android.Runtime.Register("withExponentSignDisplay", "(Landroid/icu/number/NumberFormatter$SignDisplay;)Landroid/icu/number/ScientificNotation;", "GetWithExponentSignDisplay_Landroid_icu_number_NumberFormatter_SignDisplay_Handler", ApiSince=30)]
public virtual Android.Icu.Number.ScientificNotation? WithExponentSignDisplay(Android.Icu.Number.NumberFormatter.SignDisplay? exponentSignDisplay);
[<Android.Runtime.Register("withExponentSignDisplay", "(Landroid/icu/number/NumberFormatter$SignDisplay;)Landroid/icu/number/ScientificNotation;", "GetWithExponentSignDisplay_Landroid_icu_number_NumberFormatter_SignDisplay_Handler", ApiSince=30)>]
abstract member WithExponentSignDisplay : Android.Icu.Number.NumberFormatter.SignDisplay -> Android.Icu.Number.ScientificNotation
override this.WithExponentSignDisplay : Android.Icu.Number.NumberFormatter.SignDisplay -> Android.Icu.Number.ScientificNotation
Parameters
- exponentSignDisplay
- NumberFormatter.SignDisplay
The strategy for displaying the sign in the exponent.
Returns
A ScientificNotation, for chaining.
- Attributes
Remarks
Sets whether to show the sign on positive and negative exponents in scientific notation. The default is AUTO, showing the minus sign but not the plus sign.
For example, with exponentSignDisplay=ALWAYS, the number 123 will be printed as "1.23E+2" in en-US instead of the default "1.23E2".
Android reference for android.icu.number.ScientificNotation.withExponentSignDisplay.
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.