Compartir a través de


Notation.CompactLong Method

Definition

Print the number using long-form compact notation.

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

Returns

A CompactNotation for passing to the NumberFormatter notation() setter.

Attributes

Remarks

Print the number using long-form compact notation. For more information on compact notation, see #compactShort.

In long form, the powers of ten are spelled out fully. Example outputs in <em>en-US</em> when printing 8.765E7 through 8.765E0:

88 million
            8.8 million
            876 thousand
            88 thousand
            8.8 thousand
            876
            88
            8.8

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

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