INumberFormatterOptions INumberFormatterOptions INumberFormatterOptions INumberFormatterOptions INumberFormatterOptions Interface

Definition

An interface that gets and sets options for formatting numbers.

public : interface INumberFormatterOptions
struct winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions
public interface INumberFormatterOptions
Public Interface INumberFormatterOptions
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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 FractionDigits FractionDigits FractionDigits FractionDigits

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

GeographicRegion GeographicRegion GeographicRegion GeographicRegion GeographicRegion

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

IntegerDigits IntegerDigits IntegerDigits IntegerDigits IntegerDigits

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

IsDecimalPointAlwaysDisplayed IsDecimalPointAlwaysDisplayed IsDecimalPointAlwaysDisplayed IsDecimalPointAlwaysDisplayed IsDecimalPointAlwaysDisplayed

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

IsGrouped IsGrouped IsGrouped IsGrouped IsGrouped

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

Languages Languages Languages Languages Languages

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

NumeralSystem NumeralSystem NumeralSystem NumeralSystem NumeralSystem

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

ResolvedGeographicRegion ResolvedGeographicRegion ResolvedGeographicRegion ResolvedGeographicRegion ResolvedGeographicRegion

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

ResolvedLanguage ResolvedLanguage ResolvedLanguage ResolvedLanguage ResolvedLanguage

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