INumberFormatter.Format Methode

Definition

Überlädt

Format(Double)

Gibt eine Zeichenfolgendarstellung eines Double-Werts zurück.

Format(Int64)

Gibt eine Zeichenfolgendarstellung eines Int64-Werts zurück.

Format(UInt64)

Gibt eine Zeichenfolgendarstellung eines UInt64-Werts zurück.

Format(Double)

Gibt eine Zeichenfolgendarstellung eines Double-Werts zurück.

public:
 Platform::String ^ Format(double value);
/// [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 Double-Wert .

Gibt zurück

String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Wert darstellt.

Attribute

Weitere Informationen

Gilt für:

Format(Int64)

Gibt eine Zeichenfolgendarstellung eines Int64-Werts zurück.

public:
 Platform::String ^ Format(long long value);
/// [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 formatierende Int64-Wert .

Gibt zurück

String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Wert darstellt.

Attribute

Weitere Informationen

Gilt für:

Format(UInt64)

Gibt eine Zeichenfolgendarstellung eines UInt64-Werts zurück.

public:
 Platform::String ^ Format(unsigned long long value);
/// [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 formatierende UInt64-Wert .

Gibt zurück

String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Wert darstellt.

Attribute

Weitere Informationen

Gilt für: