Freigeben über


CurrencyFormatter.Format Methode

Definition

Überlädt

Format(Double)

Gibt eine Zeichenfolgendarstellung eines Double-Währungswerts zurück.

Format(Int64)

Gibt eine Zeichenfolgendarstellung eines Int64-Währungswerts zurück.

Format(UInt64)

Gibt eine Zeichenfolgendarstellung eines UInt64-Währungswerts zurück.

Format(Double)

Gibt eine Zeichenfolgendarstellung eines Double-Währungswerts zurück.

public:
 virtual Platform::String ^ Format(double value) = Format;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("FormatDouble")]
winrt::hstring Format(double const& value);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("FormatDouble")]
public string Format(double value);
function format(value)
Public Function Format (value As Double) As String

Parameter

value
Double

double

Der zu formatierende Wert der Double-Währung .

Gibt zurück

String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Wert darstellt.

Implementiert

M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(System.Double) M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(double)
Attribute

Hinweise

Eine Erläuterung, wie der Währungscode angezeigt werden kann, wenn das Währungssymbol mehrdeutig ist, finden Sie in den Hinweisen zu CurrencyFormatter((String, IIterable(String), String) .

Weitere Informationen

Gilt für:

Format(Int64)

Gibt eine Zeichenfolgendarstellung eines Int64-Währungswerts zurück.

public:
 virtual Platform::String ^ Format(long long value) = Format;
/// [Windows.Foundation.Metadata.Overload("FormatInt")]
winrt::hstring Format(long const& value);
[Windows.Foundation.Metadata.Overload("FormatInt")]
public string Format(long value);
function format(value)
Public Function Format (value As Long) As String

Parameter

value
Int64

long long

long

Der zu formatierte Int64-Währungswert .

Gibt zurück

String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Wert darstellt.

Implementiert

M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(System.Int64) M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(long long) M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(long)
Attribute

Hinweise

Eine Erläuterung, wie der Währungscode angezeigt werden kann, wenn das Währungssymbol mehrdeutig ist, finden Sie in den Hinweisen zu CurrencyFormatter((String, IIterable(String), String) .

Weitere Informationen

Gilt für:

Format(UInt64)

Gibt eine Zeichenfolgendarstellung eines UInt64-Währungswerts zurück.

public:
 virtual Platform::String ^ Format(unsigned long long value) = Format;
/// [Windows.Foundation.Metadata.Overload("FormatUInt")]
winrt::hstring Format(uint64_t const& value);
[Windows.Foundation.Metadata.Overload("FormatUInt")]
public string Format(ulong value);
function format(value)
Public Function Format (value As ULong) As String

Parameter

value
UInt64

unsigned long long

uint64_t

Der zu formatierte UInt64-Währungswert .

Gibt zurück

String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Wert darstellt.

Implementiert

M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(System.UInt64) M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(unsigned long long) M:Windows.Globalization.NumberFormatting.INumberFormatter.Format(uint64_t)
Attribute

Hinweise

Eine Erläuterung, wie der Währungscode angezeigt werden kann, wenn das Währungssymbol mehrdeutig ist, finden Sie in den Hinweisen zu CurrencyFormatter((String, IIterable(String), String) .

Weitere Informationen

Gilt für: