Język

NumberFormatter.UnitWidth.Hidden Property

Definition

Format the number according to the specified unit, but do not display the unit.

[Android.Runtime.Register("HIDDEN", ApiSince=30)]
public static Android.Icu.Number.NumberFormatter.UnitWidth? Hidden { get; }
[<Android.Runtime.Register("HIDDEN", ApiSince=30)>]
static member Hidden : Android.Icu.Number.NumberFormatter.UnitWidth

Property Value

The setting that retains currency formatting rules without displaying a currency symbol, or omits a measure unit.

Attributes

Remarks

Format the number according to the specified unit, but do not display the unit. For currencies, apply monetary symbols and formats as with SHORT, but omit the currency symbol. For measure units, the behavior is equivalent to not specifying the unit at all.

Android reference for android.icu.number.NumberFormatter.UnitWidth.HIDDEN.

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