Notation.Scientific Method

Definition

Print the number using scientific notation (also known as scientific form, standard index form, or standard form in the UK).

[Android.Runtime.Register("scientific", "()Landroid/icu/number/ScientificNotation;", "", ApiSince=30)]
public static Android.Icu.Number.ScientificNotation? Scientific ();
[<Android.Runtime.Register("scientific", "()Landroid/icu/number/ScientificNotation;", "", ApiSince=30)>]
static member Scientific : unit -> Android.Icu.Number.ScientificNotation

Returns

A ScientificNotation for chaining or passing to the NumberFormatter notation() setter.

Attributes

Remarks

Print the number using scientific notation (also known as scientific form, standard index form, or standard form in the UK). The format for scientific notation varies by locale; for example, many Western locales display the number in the form "#E0", where the number is displayed with one digit before the decimal separator, zero or more digits after the decimal separator, and the corresponding power of 10 displayed after the "E".

Example outputs in <em>en-US</em> when printing 8.765E4 through 8.765E-3:

8.765E4
            8.765E3
            8.765E2
            8.765E1
            8.765E0
            8.765E-1
            8.765E-2
            8.765E-3
            0E0

Java documentation for android.icu.number.Notation.scientific().

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