Share via


DecimalFormatSymbols.SetDigitStrings(String[]) Method

Definition

<strong>[icu]</strong> Sets the array of strings used as digits, in order from 0 through 9

[Android.Runtime.Register("setDigitStrings", "([Ljava/lang/String;)V", "GetSetDigitStrings_arrayLjava_lang_String_Handler", ApiSince=28)]
public virtual void SetDigitStrings (string[]? digitStrings);
[<Android.Runtime.Register("setDigitStrings", "([Ljava/lang/String;)V", "GetSetDigitStrings_arrayLjava_lang_String_Handler", ApiSince=28)>]
abstract member SetDigitStrings : string[] -> unit
override this.SetDigitStrings : string[] -> unit

Parameters

digitStrings
String[]

The array of digit strings. The length of the array must be exactly 10.

Attributes

Remarks

<strong>[icu]</strong> Sets the array of strings used as digits, in order from 0 through 9

<b>Note:</b>

When the input array of digit strings contains any strings represented by multiple Java chars, then #getDigits() will return the default digits ('0' - '9') and #getZeroDigit() will return the default zero digit ('0').

Java documentation for android.icu.text.DecimalFormatSymbols.setDigitStrings(java.lang.String[]).

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