Språk

NumberRangeFormatter.RangeIdentityFallback.Approximately Property

Definition

Gets the fallback setting that uses an approximation for equal range endpoints.

[Android.Runtime.Register("APPROXIMATELY", ApiSince=30)]
public static Android.Icu.Number.NumberRangeFormatter.RangeIdentityFallback Approximately { get; }
[<Android.Runtime.Register("APPROXIMATELY", ApiSince=30)>]
static member Approximately : Android.Icu.Number.NumberRangeFormatter.RangeIdentityFallback

Property Value

The approximation fallback, whether the endpoints were equal before rounding or became equal after rounding.

Attributes

Remarks

When both endpoints use the same formatter and have matching formatting fields, equal values use one number with the locale's approximation format. This includes inputs that were already equal before rounding. Unequal values still use a range.

If separate endpoint formatters are used, or their formatting fields do not match, the result remains a range.

These conditions follow the ICU range-formatting implementation.

Applies to