Share via


PercentFormatter.NumeralSystem Property

Definition

Gets or sets the numbering system that is used to format and parse percentages.

public:
 property Platform::String ^ NumeralSystem { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring NumeralSystem();

void NumeralSystem(winrt::hstring value);
public string NumeralSystem { get; set; }
var string = percentFormatter.numeralSystem;
percentFormatter.numeralSystem = string;
Public Property NumeralSystem As String

Property Value

String

Platform::String

winrt::hstring

A string that indicates the numeral system of the formatter, such as "Latn" for the Latin numeral system (0123456789) or "Arab" for the Arabic-Indic numeral system (٠١٢٣٤٥٦٧٨٩). See the supported NumeralSystem values.

Implements

Remarks

Note

For Arabic numeral systems ("Arab" and "ArabExt" or any numeral systems which use a combination of those characters):+ A period (.) immediately before a Latin digit is converted to the Arabic Decimal Separator (u+66b).

  • A comma (,) immediately before a Latin digit is converted to Arabic Thousand Separator (u+66c).
  • A percent (%) adjacent to a Latin digit is converted to Arabic Per Cent Symbol (u+66a).
  • A permille (u+2030) adjacent to a Latin digit is converted to Arabic Per Mille Symbol (u+609).

Applies to

See also