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.

CurrencyFormatter.CurrencyFormatter(String) constructor

Applies to Windows and Windows Phone

Creates a CurrencyFormatter object that is initialized with a currency identifier.

Syntax


var currencyFormatter = new Windows.Globalization.NumberFormatting.CurrencyFormatter(currencyCode);

Parameters

currencyCode

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The currency identifier to use when formatting and parsing currency values.

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

See also

CurrencyFormatter
CurrencyFormatter(String, IIterable(String), String)

 

 

Show:
© 2014 Microsoft. All rights reserved.