Partager via


ScientificNotation.WithMinExponentDigits(Int32) Method

Definition

Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if necessary.

[Android.Runtime.Register("withMinExponentDigits", "(I)Landroid/icu/number/ScientificNotation;", "GetWithMinExponentDigits_IHandler", ApiSince=30)]
public virtual Android.Icu.Number.ScientificNotation? WithMinExponentDigits (int minExponentDigits);
[<Android.Runtime.Register("withMinExponentDigits", "(I)Landroid/icu/number/ScientificNotation;", "GetWithMinExponentDigits_IHandler", ApiSince=30)>]
abstract member WithMinExponentDigits : int -> Android.Icu.Number.ScientificNotation
override this.WithMinExponentDigits : int -> Android.Icu.Number.ScientificNotation

Parameters

minExponentDigits
Int32

The minimum number of digits to show in the exponent.

Returns

A ScientificNotation, for chaining.

Attributes

Remarks

Sets the minimum number of digits to show in the exponent of scientific notation, padding with zeros if necessary. Useful for fixed-width display.

For example, with minExponentDigits=2, the number 123 will be printed as "1.23E02" in <em>en-US</em> instead of the default "1.23E2".

Java documentation for android.icu.number.ScientificNotation.withMinExponentDigits(int).

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