次の方法で共有


ScientificNumberFormatter.GetSuperscriptInstance Method

Definition

Overloads

GetSuperscriptInstance(DecimalFormat)

Gets a ScientificNumberFormatter instance that uses superscript characters for exponents.

GetSuperscriptInstance(ULocale)

Gets a ScientificNumberFormatter instance that uses superscript characters for exponents for this locale.

GetSuperscriptInstance(DecimalFormat)

Gets a ScientificNumberFormatter instance that uses superscript characters for exponents.

[Android.Runtime.Register("getSuperscriptInstance", "(Landroid/icu/text/DecimalFormat;)Landroid/icu/text/ScientificNumberFormatter;", "", ApiSince=26)]
public static Android.Icu.Text.ScientificNumberFormatter? GetSuperscriptInstance (Android.Icu.Text.DecimalFormat? df);
[<Android.Runtime.Register("getSuperscriptInstance", "(Landroid/icu/text/DecimalFormat;)Landroid/icu/text/ScientificNumberFormatter;", "", ApiSince=26)>]
static member GetSuperscriptInstance : Android.Icu.Text.DecimalFormat -> Android.Icu.Text.ScientificNumberFormatter

Parameters

df
DecimalFormat

The DecimalFormat must be configured for scientific notation. Caller may safely change df after this call as this method clones it when creating the ScientificNumberFormatter.

Returns

the ScientificNumberFormatter instance.

Attributes

Remarks

Gets a ScientificNumberFormatter instance that uses superscript characters for exponents.

Java documentation for android.icu.text.ScientificNumberFormatter.getSuperscriptInstance(android.icu.text.DecimalFormat).

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

GetSuperscriptInstance(ULocale)

Gets a ScientificNumberFormatter instance that uses superscript characters for exponents for this locale.

[Android.Runtime.Register("getSuperscriptInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/ScientificNumberFormatter;", "", ApiSince=26)]
public static Android.Icu.Text.ScientificNumberFormatter? GetSuperscriptInstance (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getSuperscriptInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/ScientificNumberFormatter;", "", ApiSince=26)>]
static member GetSuperscriptInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.ScientificNumberFormatter

Parameters

locale
ULocale

The locale

Returns

The ScientificNumberFormatter instance.

Attributes

Remarks

Gets a ScientificNumberFormatter instance that uses superscript characters for exponents for this locale.

Java documentation for android.icu.text.ScientificNumberFormatter.getSuperscriptInstance(android.icu.util.ULocale).

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