PercentFormatter.NumeralSystem PercentFormatter.NumeralSystem PercentFormatter.NumeralSystem PercentFormatter.NumeralSystem PercentFormatter.NumeralSystem Property

Definition

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

public : Platform::String NumeralSystem { get; set; }
winrt::hstring NumeralSystem();

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

Property Value

string string string

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.

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).

See also