Share via


INumberFormatterOptions Interface

Definition

An interface that gets and sets options for formatting numbers.

public interface class INumberFormatterOptions
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2150837537, 44769, 19001, 186, 162, 7, 237, 140, 150, 218, 246)]
struct INumberFormatterOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2150837537, 44769, 19001, 186, 162, 7, 237, 140, 150, 218, 246)]
public interface INumberFormatterOptions
Public Interface INumberFormatterOptions
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

If your app passes language tags from this interface to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.

Properties

FractionDigits

Gets or sets the minimum number of digits to display for the fraction part of the number.

GeographicRegion

Gets the region that is used when formatting and parsing numbers.

IntegerDigits

Gets or sets the minimum number of digits to display for the integer part of the number.

IsDecimalPointAlwaysDisplayed

Gets or sets whether the decimal point of the number should always be displayed.

IsGrouped

Gets or sets whether the integer part of the number should be grouped.

Languages

Gets the priority list of language identifiers that is used when formatting and parsing numbers.

NumeralSystem

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

ResolvedGeographicRegion

Gets the geographic region that was most recently used to format or parse numbers.

ResolvedLanguage

Gets the language that was most recently used to format or parse numbers.

Applies to