CurrencyFormatter.Format Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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
Eine Zeichenfolge, die den Wert darstellt.
Implementiert
- 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
Eine Zeichenfolge, die den Wert darstellt.
Implementiert
- 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
Eine Zeichenfolge, die den Wert darstellt.
Implementiert
- 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) .