次の方法で共有


NumberFormat.GetAvailableLocales Method

Definition

Returns a scientific format for the current default locale.

[Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "")]
public static Java.Util.Locale[] GetAvailableLocales ();
[<Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "")>]
static member GetAvailableLocales : unit -> Java.Util.Locale[]

Returns

Locale[]

An array of locales for which localized NumberFormat instances are available.

Attributes

Remarks

Returns a scientific format for the current default locale.

/*public* static final NumberFormat getScientificInstance() { return getInstance(Locale.getDefault(Locale.Category.FORMAT), null, SCIENTIFICSTYLE); }

/** Returns a scientific format for the specified locale.

Java documentation for java.text.NumberFormat.getAvailableLocales().

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