Windows.Globalization.NumberFormatting Namespace

Erstellt Klassen zum Formatieren von Währungen, Dezimalzahlen, Prozentangaben und Promillewerten auf Grundlage der Sprache des Benutzers und seiner geografischen Region.

Member

Windows.Globalization.NumberFormattingNamespace hat diese Membertypen:

Klassen

Windows.Globalization.NumberFormattingNamespace hat diese Klassen.

KlasseBeschreibung
CurrencyFormatter Formats and parses currencies.
DecimalFormatter Formats and parses decimal numbers.
IncrementNumberRounder Rounds numbers to a specified increment.
NumeralSystemTranslator Translates digits of the Latin numerical system into digits of another numerical system.
PercentFormatter Formats and parses percentages.
PermilleFormatter Formats and parses permillages.
SignificantDigitsNumberRounder Rounds numbers to a specified number of significant digits.

 

Enumerationen

Windows.Globalization.NumberFormattingNamespace verfügt über folgende Enumerationen.

EnumerationBeschreibung
CurrencyFormatterMode Specifies the use of symbols or codes when currency is formatted.
RoundingAlgorithm Specifies the algorithm used to round numbers.

 

Schnittstellen

Windows.Globalization.NumberFormattingNamespace definiert diese Schnittstellen.

SchnittstelleBeschreibung
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.
INumberRounder An interface that returns rounded results for provided numbers of several data types.
INumberRounderOption An interface that gets and sets the option for rounding numbers.
ISignedZeroOption An interface that gets and sets the option for specifying whether -0 is formatted as -0 or 0.
ISignificantDigitsOption An interface that gets and sets the option for specifying significant digits.

 

Hinweise

Wenn die App Sprachtags von diesem Namespace an National Language Support-Funktionen übergibt, müssen die Tags zuvor durch den Aufruf von ResolveLocaleName konvertiert werden.

Anforderungen

Mindestens unterstützter Client

Windows 8

Mindestens unterstützter Server

Windows Server 2012

Namespace

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

Metadaten

Windows.winmd

 

 

Anzeigen:
© 2014 Microsoft