Langue

ScientificNotation.WithMinExponentDigits(Int32) Méthode

Définition

Définit le nombre minimal de chiffres à afficher dans l’exposant de notation scientifique, remplissage avec zéros si nécessaire.

[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

Paramètres

minExponentDigits
Int32

Nombre minimal de chiffres à afficher dans l’exposant.

Retours

Un ScientificNotation, pour le chaînage.

Attributs

Remarques

Définit le nombre minimal de chiffres à afficher dans l’exposant de notation scientifique, remplissage avec zéros si nécessaire. Utile pour l’affichage à largeur fixe.

Par exemple, avec minExponentDigits=2, le nombre 123 est imprimé en tant que « 1,23E02 » dans <em>en-US</em> au lieu de la valeur par défaut « 1,23E2 ».

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

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à