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.

INumberFormatterOptions interface

Applies to Windows and Windows Phone

An interface that gets and sets options for formatting numbers.

Syntax


public interface INumberFormatterOptions

Attributes

[Version(0x06020000)]

Members

The INumberFormatterOptions interface has these types of members:

Properties

The INumberFormatterOptions interface has these properties.

PropertyAccess typeDescription

FractionDigits

Read/writeGets or sets the minimum number of digits to display for the fraction part of the number.

GeographicRegion

Read-onlyGets the region that is used when formatting and parsing numbers.

IntegerDigits

Read/writeGets or sets the minimum number of digits to display for the integer part of the number.

IsDecimalPointAlwaysDisplayed

Read/writeGets or sets whether the decimal point of the number should always be displayed.

IsGrouped

Read/writeGets or sets whether the integer part of the number should be grouped.

Languages

Read-onlyGets the priority list of language identifiers that is used when formatting and parsing numbers.

NumeralSystem

Read/writeGets or sets the numbering system that is used to format and parse numbers.

ResolvedGeographicRegion

Read-onlyGets the geographic region that was most recently used to format or parse numbers.

ResolvedLanguage

Read-onlyGets the language that was most recently used to format or parse numbers.

 

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft