Windows Dev Center

CurrencyFormatterMode enumeration

Specifies the use of symbols or codes when currency is formatted.

This enumeration is used by the Mode property of CurrencyFormatter.

Syntax


var value = Windows.Globalization.NumberFormatting.CurrencyFormatterMode.useSymbol;

Members

The CurrencyFormatterMode enumeration has these members.

MemberValueDescription
UseSymbol | useSymbol0

Default behavior. Currencies are formatted with the appropriate currency symbol (for example, $15).

UseCurrencyCode | useCurrencyCode1

Currencies are formatted with the Currency code provided to the CurrencyFormatter object (for example, 15 USD).

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

See also

CurrencyFormatter.Currency
CurrencyFormatter.Mode

 

 

Show:
© 2015 Microsoft