Windows.Globalization.NumberFormatting namespace

This topic has not yet been rated - Rate this topic

Provides classes for formatting currencies, decimal numbers, percent values, and permille values, based on the user's languages and geographic region.

Members

The Windows.Globalization.NumberFormatting namespace has these types of members:

Classes

The Windows.Globalization.NumberFormatting namespace has these classes.

ClassDescription
CurrencyFormatter Formats and parses currencies.
DecimalFormatter Formats and parses decimal numbers.
PercentFormatter Formats and parses percentages.
PermilleFormatter Formats and parses permillages.

 

Interfaces

The Windows.Globalization.NumberFormatting namespace defines these interfaces.

InterfaceDescription
INumberFormatter An interface that returns a string representation of a provided value, using an overloaded Format method to format several data types.
INumberFormatter2 An interface that returns a string representation of a provided value, using distinct format methods to format several data types.
INumberFormatterOptions An interface that gets and sets options for formatting numbers.
INumberParser An interface that parses a string representation of a numeric value.

 

Remarks

If your app passes language tags from this namespace 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

Namespace

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

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.