Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NumeralSystemTranslator.NumeralSystem | numeralSystem property

Gets or sets the numeral system that Latin digits will be converted to on calls to TranslateNumerals.

Syntax


var numeralSystem = numeralSystemTranslator.numeralSystem;
numeralSystemTranslator.numeralSystem = numeralSystem;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string that indicates the target numeral system of the translator, such as "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).

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.winmd

See also

NumeralSystemTranslator
NumeralSystem values

 

 

Show:
© 2015 Microsoft