Lenguaje

DecimalFormat.ScientificNotation Propiedad

Definición

<strong>[icu]</strong> Devuelve si la notación científica (exponencial) está habilitada en este formateador. -o bien- <strong[icu]</strong>><strong Scientific Notation:</strong> Sets si este formateador debe imprimirse en notación científica (>exponencial).

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

Valor de propiedad

Atributos

Comentarios

Documentación del captador de propiedades:

<strong>[icu]</strong> Devuelve si la notación científica (exponencial) está habilitada en este formateador.

Java documentación para android.icu.text.DecimalFormat.isScientificNotation().

Documentación del establecedor de propiedades:

<strong>[icu]</strong><>strong Scientific Notation:</strong> Sets si este formateador debe imprimirse en notación científica (exponencial). Por ejemplo, si la notación científica está habilitada, el número 123000 se imprimirá como "1.23E5" en la configuración <regional em>en-US</em>. Un símbolo específico de la configuración regional se usa como separador de exponente.

Llamar a df.setScientificNotation(true) es funcionalmente equivalente a llamar a df.setMinimumExponentDigits(1).

Java documentación para android.icu.text.DecimalFormat.setScientificNotation(boolean).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a