DecimalFormat.ScientificNotation Proprietà

Definizione

<strong>[icu]</strong> Restituisce se la notazione scientifica (esponenziale) è abilitata in questo formattatore. -oppure- <strong>[icu]</strong><strong>Scientific Notation:</strong> Set se questo formattatore deve stampare in notazione scientifica (esponenziale).

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

Valore della proprietà

Attributi

Commenti

Documentazione del getter delle proprietà:

<strong>[icu]</strong> Restituisce se la notazione scientifica (esponenziale) è abilitata in questo formattatore.

per android.icu.text.DecimalFormat.isScientificNotation().

Documentazione del setter delle proprietà:

<strong>[icu]</strong><strong>Scientific Notation:</strong> Set se questo formattatore deve stampare nella notazione scientifica (esponenziale). Ad esempio, se la notazione scientifica è abilitata, il numero 123000 verrà stampato come "1.23E5" nelle impostazioni locali <em>en-US</em>. Un simbolo specifico delle impostazioni locali viene usato come separatore dell'esponente.

La chiamata df.setScientificNotation(true) è funzionalmente equivalente alla chiamata df.setMinimumExponentDigits(1)di .

per android.icu.text.DecimalFormat.setScientificNotation(boolean).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a